|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.jonas.jtests.beans.annuaire.PersonneEC2
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 | |
PersonneEC2()
|
Method Summary | |
void |
ejbActivate()
This method is called when the instance is activated from its "passive" state. |
java.lang.String |
ejbCreate(java.lang.String nom,
java.lang.String numero)
|
java.lang.String |
ejbCreate(java.lang.String nom,
java.lang.String numero,
boolean t)
|
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 nom,
java.lang.String numero)
There must be an ejbPostCreate par ejbCreate method |
void |
ejbPostCreate(java.lang.String nom,
java.lang.String numero,
boolean t)
|
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. |
boolean |
ejbStoreCalled()
|
abstract java.lang.String |
getNom()
|
abstract java.lang.String |
getNumero()
|
java.lang.String |
getNumeroNTX()
getNumeroNTX / Tx Attribute = Supports |
boolean |
isDirty()
|
boolean |
isModified()
|
boolean |
isModifiedCalled()
|
void |
reset()
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
abstract void |
setNom(java.lang.String n)
|
abstract void |
setNumero(java.lang.String n)
|
void |
setNumeroNTX(java.lang.String s)
setNumeroNTX / Tx Attribute = Supports |
void |
unsetEntityContext()
Unset the associated entity context. |
Field Detail |
protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
public PersonneEC2()
Method Detail |
public abstract java.lang.String getNom()
public abstract void setNom(java.lang.String n)
public abstract java.lang.String getNumero()
public abstract void setNumero(java.lang.String n)
public void setEntityContext(javax.ejb.EntityContext ctx)
ctx
- - An EntityContext interface for the instance. The instance
should store the reference to the context in an instance variable.EJBException
- Thrown by the method to indicate a failure caused by a
system-level error.public void unsetEntityContext()
EJBException
- Thrown by the method to indicate a failure caused by a
system-level error.public void ejbRemove() throws javax.ejb.RemoveException
RemoveException
- The enterprise Bean does not allow destruction of the object.EJBException
- - Thrown by the method to indicate a failure caused by a system-level
error.public void ejbLoad()
EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.public void ejbStore()
EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.public void ejbPostCreate(java.lang.String nom, java.lang.String numero) throws javax.ejb.CreateException
CreateException
- Failure to create an entity EJB object.public void ejbPostCreate(java.lang.String nom, java.lang.String numero, boolean t) throws javax.ejb.CreateException
public java.lang.String ejbCreate(java.lang.String nom, java.lang.String numero) throws javax.ejb.CreateException, javax.ejb.DuplicateKeyException
public java.lang.String ejbCreate(java.lang.String nom, java.lang.String numero, boolean t) throws javax.ejb.CreateException, javax.ejb.DuplicateKeyException
public void ejbPassivate()
EJBException
- - Thrown if the instance could not perform the
function requested by the containerpublic void ejbActivate()
EJBException
- - Thrown if the instance could not perform the
function requested by the containerpublic java.lang.String getNumeroNTX()
public void setNumeroNTX(java.lang.String s)
public boolean isModified()
public void reset()
public boolean isModifiedCalled()
public boolean ejbStoreCalled()
public boolean isDirty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |