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

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

public abstract class Token
extends NullBean

Token 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
Token()
          Constructs a Token.
 
Method Summary
 TokenKey ejbCreate(TokenKey primaryKey)
          Create life-cycle event.
 void ejbPostCreate(TokenKey primaryKey)
          Post-create bean life-cycle event.
abstract  TokenKey getTokenID()
          Returns the token ID attribute of this bean.
abstract  void setTokenID(TokenKey aTokenID)
          Sets the token ID 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

Token

public Token()
Constructs a Token.

Method Detail

getTokenID

public abstract TokenKey getTokenID()
Returns the token ID attribute of this bean.

Returns:
the token ID attribute of this bean.

setTokenID

public abstract void setTokenID(TokenKey aTokenID)
Sets the token ID attribute of this bean.

Parameters:
aTokenID - the token ID attribute to be applied to this bean.

ejbCreate

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

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

ejbPostCreate

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

Parameters:
primaryKey - the primary key.