au.gov.tas.dpiwe.mr.test.aggregation
Class Card

java.lang.Object
  extended by au.gov.tas.dpiwe.mr.bean.NullBean
      extended by au.gov.tas.dpiwe.mr.test.aggregation.Card
All Implemented Interfaces:
SimpleValidator, WrappedBean, ContainerChangeListener, Serializable, EventListener, EnterpriseBean, EntityBean
Direct Known Subclasses:
MrCard, ThinCard

public abstract class Card
extends NullBean

Card is a leaf bean containing basic field types.

Since:
Mr Architecture 2.0
Version:
1.0.0.1
Author:
Kade Hanson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class au.gov.tas.dpiwe.mr.bean.NullBean
container, context, wrapper
 
Constructor Summary
Card()
          Constructs a Card.
 
Method Summary
 CardKey ejbCreate(CardKey primaryKey)
          Create life-cycle event.
 void ejbPostCreate(CardKey primaryKey)
          Post-create bean life-cycle event.
abstract  CardKey getCardID()
          Returns the card ID attribute of this bean.
abstract  String getText()
          Returns the text attribute of this bean.
abstract  void setCardID(CardKey aCardID)
          Sets the card ID attribute of this bean.
abstract  void setText(String text)
          Sets the text attribute of this bean.
 
Methods inherited from class au.gov.tas.dpiwe.mr.bean.NullBean
clone, containerChanged, ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, getBeanObject, setEntityContext, simpleValidate, throwEJBException, unsetEntityContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Card

public Card()
Constructs a Card.

Method Detail

getCardID

public abstract CardKey getCardID()
Returns the card ID attribute of this bean.

Returns:
the card ID attribute of this bean.

setCardID

public abstract void setCardID(CardKey aCardID)
Sets the card ID attribute of this bean.

Parameters:
aCardID - the card ID attribute to be applied to this bean.

getText

public abstract String getText()
Returns the text attribute of this bean.

Returns:
the text attribute of this bean.

setText

public abstract void setText(String text)
Sets the text attribute of this bean.

Parameters:
text - the text attribute to be applied to this bean.

ejbCreate

public CardKey ejbCreate(CardKey primaryKey)
Create life-cycle event.

Parameters:
primaryKey - the primary key input.
Returns:
primaryKey the primary key output (should match input.)

ejbPostCreate

public void ejbPostCreate(CardKey primaryKey)
Post-create bean life-cycle event.

Parameters:
primaryKey - the primary key.