|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.jonas.jtests.beans.relation.pkcomp.AEC2
Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
logger
|
Constructor Summary | |
AEC2()
|
Method Summary | |
void |
addAllInB(java.util.Collection pkbs)
|
void |
addAllInBInNewTx(java.util.Collection pkbs)
|
void |
addInB(BPK pkb)
|
void |
addInBInNewTx(BPK pkb)
|
void |
assignB(java.util.Collection c)
|
void |
assignBInNewTx(java.util.Collection c)
|
void |
clearB()
|
void |
clearBInNewTx()
|
boolean |
containAllInB(java.util.Collection pkbs)
|
boolean |
containInB(BPK pkb)
It returns true the multivalued relation contains the bean B defined by the primary key specified by the parameter. |
void |
ejbActivate()
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object. |
java.lang.String |
ejbCreate(java.lang.String ida1,
int ida2)
The Entity bean can define 0 or more ejbCreate methods. |
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()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbPostCreate(java.lang.String ida1,
int ida2)
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 java.util.Collection |
getB()
|
APK |
getId()
|
abstract java.lang.String |
getIda1()
|
abstract int |
getIda2()
|
void |
m1()
|
void |
removeFromB(BPK pkb)
|
void |
removeFromBInNewTx(BPK pkb)
|
java.util.Collection |
retrieveB()
|
java.util.Collection |
retrieveBInNewTx()
|
abstract void |
setB(java.util.Collection bl)
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
abstract void |
setIda1(java.lang.String id)
|
abstract void |
setIda2(int id)
|
void |
unsetEntityContext()
Unset the associated entity context. |
Field Detail |
protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
public AEC2()
Method Detail |
public void m1()
public APK getId()
public void assignB(java.util.Collection c) throws javax.ejb.FinderException
public void assignBInNewTx(java.util.Collection c) throws javax.ejb.FinderException
public java.util.Collection retrieveB()
public java.util.Collection retrieveBInNewTx()
public void addInB(BPK pkb) throws javax.ejb.FinderException
public void addInBInNewTx(BPK pkb) throws javax.ejb.FinderException
public void addAllInB(java.util.Collection pkbs) throws javax.ejb.FinderException
public void addAllInBInNewTx(java.util.Collection pkbs) throws javax.ejb.FinderException
public void removeFromB(BPK pkb) throws javax.ejb.FinderException
public void removeFromBInNewTx(BPK pkb) throws javax.ejb.FinderException
public void clearB()
public void clearBInNewTx()
public boolean containAllInB(java.util.Collection pkbs) throws javax.ejb.FinderException
public boolean containInB(BPK pkb) throws javax.ejb.FinderException
public abstract java.lang.String getIda1()
public abstract int getIda2()
public abstract void setIda1(java.lang.String id)
public abstract void setIda2(int id)
public abstract java.util.Collection getB()
public abstract void setB(java.util.Collection bl)
public java.lang.String ejbCreate(java.lang.String ida1, int ida2) throws javax.ejb.CreateException, javax.ejb.DuplicateKeyException
CreateException
- Failure to create an entity EJB object.DuplicateKeyException
- An object with the same key already exists.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 ida1, int ida2) throws javax.ejb.CreateException
CreateException
- Failure to create an entity EJB object.public void ejbPassivate()
public void ejbActivate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |