| |
|
| java.lang.Object hero.entity.BnNextNumberBean
BnNextNumberBean | abstract public class BnNextNumberBean implements EntityBean(Code) | | The Entity bean represents a BnNextNumber
|
Field Summary | |
public EntityContext | mContext |
mContext | public EntityContext mContext(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public BnNextNumberPK ejbCreate(String name) throws InvalidValueException, EJBException, CreateException(Code) | | Create a BnNextNumber based on the supplied name.
throws: InvalidValueException - If one of the values are not correct,this will not roll back the transactionbecause the caller has the chance tofix the problem and try again throws: EJBException - If no new unique ID could be retrieved this willrollback the transaction because there is nohope to try again throws: CreateException - Because we have to do so (EJB spec.) |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getId | abstract public String getId()(Code) | | Retrieve the BnNextNumber id.
Returns an int representing the id of this BnNextNumber. |
getMax | abstract public int getMax()(Code) | | Retrieve the max value.
Returns an int representing the max |
getName | abstract public String getName()(Code) | | Retrieve the name value.
Returns an String representing the name |
setEntityContext | public void setEntityContext(EntityContext lContext)(Code) | | |
setId | abstract public void setId(String pId)(Code) | | Set the BnNextNumber id.
Parameters: pId - The id of this BnNextNumber. |
setMax | abstract public void setMax(int max)(Code) | | Set the max value.
Parameters: max - The max value. |
setName | abstract public void setName(String name)(Code) | | Set the name value.
Parameters: name - The name value. |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
|
|
|