|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.jonas.jtests.beans.relatives.RelativeEC2
This is an entity bean with "container managed persistence version 2.x".
Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
logger
|
Constructor Summary | |
RelativeEC2()
|
Method Summary | |
void |
ejbActivate()
This method is called when the instance is activated from its "passive" state. |
java.lang.String |
ejbCreate(java.lang.String fullName,
java.util.Date birthdate,
int luckyNumber)
A container invokes this instance before creating the EJBObject |
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
ejbPassivate()
This method is called before the instance enters the "passive" state. |
void |
ejbPostCreate(java.lang.String fullName,
java.util.Date birthdate,
int luckyNumber)
There must be an ejbPostCreate par ejbCreate method |
void |
ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
abstract double |
getAverageAnnualVisits()
|
abstract java.util.Date |
getBirthdate()
|
abstract java.lang.String |
getFullName()
|
abstract boolean |
getIsMale()
|
abstract int |
getLuckyNumber()
|
abstract java.util.Set |
getSibblings()
|
abstract RelativeLocal |
getSpouse()
|
abstract java.util.Set |
getVisitedRelatives()
|
abstract void |
setAverageAnnualVisits(double averageAnnualVisits)
|
abstract void |
setBirthdate(java.util.Date birthdate)
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
abstract void |
setFullName(java.lang.String name)
|
abstract void |
setIsMale(boolean isMale)
|
abstract void |
setLuckyNumber(int age)
|
abstract void |
setSibblings(java.util.Set sibblings)
|
abstract void |
setSpouse(RelativeLocal spouse)
|
abstract void |
setVisitedRelatives(java.util.Set sibblings)
|
void |
unsetEntityContext()
Unset the associated entity context. |
Field Detail |
protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
public RelativeEC2()
Method Detail |
public abstract java.lang.String getFullName()
public abstract void setFullName(java.lang.String name)
public abstract int getLuckyNumber()
public abstract void setLuckyNumber(int age)
public abstract java.util.Date getBirthdate()
public abstract void setBirthdate(java.util.Date birthdate)
public abstract RelativeLocal getSpouse()
public abstract void setSpouse(RelativeLocal spouse)
public abstract java.util.Set getSibblings()
public abstract void setSibblings(java.util.Set sibblings)
public abstract java.util.Set getVisitedRelatives()
public abstract void setVisitedRelatives(java.util.Set sibblings)
public abstract boolean getIsMale()
public abstract void setIsMale(boolean isMale)
public abstract double getAverageAnnualVisits()
public abstract void setAverageAnnualVisits(double averageAnnualVisits)
public void setEntityContext(javax.ejb.EntityContext ctx)
public void unsetEntityContext()
public void ejbRemove() throws javax.ejb.RemoveException
public void ejbLoad()
public void ejbStore()
public java.lang.String ejbCreate(java.lang.String fullName, java.util.Date birthdate, int luckyNumber) throws javax.ejb.CreateException, javax.ejb.DuplicateKeyException
public void ejbPostCreate(java.lang.String fullName, java.util.Date birthdate, int luckyNumber) throws javax.ejb.CreateException
javax.ejb.CreateException
- Failure to create an entity EJB object.public void ejbPassivate()
javax.ejb.EJBException
- - Thrown if the instance could not perform the
function requested by the containerpublic void ejbActivate()
javax.ejb.EJBException
- - Thrown if the instance could not perform the
function requested by the container
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |