| java.lang.Object org.objectweb.jonas.jtests.beans.relation.rcycle.PersonEC2
PersonEC2 | abstract public class PersonEC2 implements javax.ejb.EntityBean(Code) | | Class implementation of bean Person which is a CMP2 entity.
This bean Person have several bidirectional relation-ships with itself.
The CMP fields are:
- id
- name
- sex (male or female).
The CMR fields are:
- spouse, (One-One-bi relation),
- parents and children, (Many-Many-bi relation),
- guardian and is-guardian-of, (One-Many-bi relation).
author: Helene Joanin |
addInChildren | public void addInChildren(Integer id) throws FinderException(Code) | | |
addInGuardianOf | public void addInGuardianOf(Integer id) throws FinderException(Code) | | |
addInParents | public void addInParents(Integer id) throws FinderException(Code) | | |
assignChildren | public void assignChildren(Collection c) throws FinderException(Code) | | |
assignGuardian | public void assignGuardian(Integer id) throws FinderException(Code) | | |
assignInGuardianOf | public void assignInGuardianOf(Collection c) throws FinderException(Code) | | |
assignParents | public void assignParents(Collection c) throws FinderException(Code) | | |
assignSpouse | public void assignSpouse(Integer id) throws FinderException(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove() throws javax.ejb.RemoveException(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getSex | abstract public int getSex()(Code) | | |
setEntityContext | public void setEntityContext(javax.ejb.EntityContext ctx)(Code) | | |
setSex | abstract public void setSex(int sex)(Code) | | |
testCmrNull | public boolean testCmrNull() throws FinderException(Code) | | |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
|
|