Helene Joanin on May 2003: code cleanup
Helene Joanin on May 2003: complement for legacy first version
Definition at line 44 of file EjbRelationshipRoleDesc.java.
|
constructor to be used by parent node
Definition at line 131 of file EjbRelationshipRoleDesc.java. |
|
Fills the mapping information of this relation-ship role with the values defined in jonas DD.
Definition at line 187 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.xml.JonasEjbRelationshipRole.getForeignKeyJdbcMappingList(), org.objectweb.jonas_ejb.deployment.xml.ForeignKeyJdbcMapping.getForeignKeyJdbcName(), org.objectweb.jonas_ejb.deployment.xml.ForeignKeyJdbcMapping.getKeyJdbcName(), org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.getName(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.getSimplePkField(), and org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.hasSimplePkField(). Referenced by org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.fillMappingInfo(). |
Here is the call graph for this function:
|
Fills the mapping information of this relation-ship role with default values if the mapping information is not already initialized. Definition at line 223 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getAbstractSchemaName(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.getCmpFieldDesc(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.getCmpFieldDescIterator(), org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.getJdbcFieldName(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.getSimplePkFieldName(), and org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.hasSimplePkField(). |
Here is the call graph for this function:
|
get the name of the cmr-field.
Definition at line 397 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getEjbRelationshipRoleDesc(), org.objectweb.jonas_ejb.genic.VcCMRField.getOppositeUFLCMRName(), org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), and org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
|
get the type of the cmr-field when set in the deployment descriptor.
Definition at line 406 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
|
Definition at line 453 of file EjbRelationshipRoleDesc.java. |
|
return the name of this relationship role.
Definition at line 252 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.setJonasInfo(), and org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
|
get the opposite relation-ship-role of this relation-ship-role.
Definition at line 311 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.getRelationshipRole1(), and org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.getRelationshipRole2(). Referenced by org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), and org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
Here is the call graph for this function:
|
get the parent ejb relation of this relation-ship-role.
Definition at line 303 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.container.jorm.JormFactory.init(). |
|
This method depends on static values OOB,OOU,... defined upper !
Definition at line 414 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.api.EjbRelationshipRoleDesc.hasCmrField(), and org.objectweb.jonas_ejb.deployment.api.EjbRelationshipRoleDesc.isTargetMultiple. Referenced by org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
Here is the call graph for this function:
|
Get the ejb involved in this relation-ship-role. this is the source bean of this relation.
Definition at line 334 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.fillMappingInfoWithDefault(), and org.objectweb.jonas_ejb.container.jorm.JormFactory.init(). |
|
Get the name of the ejb involved in this relation-ship-role. This is the source bean name of this relation.
Definition at line 325 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(), org.objectweb.jonas_ejb.genic.VcCMRField.getHelperClassName(), and org.objectweb.jonas_ejb.genic.VcCMRField.getOppositeHelperClassName(). |
|
It retrieves the EntityCmp2Desc which is linked to the EntityCmp2Desc associated to this EjbRelationshipRoleDesc. This is the target bean of this relationship role
Definition at line 344 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.genic.VcCMRField.getHelperFQClassName(), org.objectweb.jonas_ejb.genic.VcCMRField.getOppositeHelperFQClassName(), org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), and org.objectweb.jonas_ejb.genic.VcCMRField.VcCMRField(). |
|
It retrieves true if the EntityCmp2Desc associated to this EjbRelationshipRoleDesc has a cmr field to the linked EntityCmp2Desc
Definition at line 389 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getEjbRelationshipRoleDesc(), org.objectweb.jonas_ejb.deployment.api.EjbRelationshipRoleDesc.getRelationType(), org.objectweb.jonas_ejb.container.jorm.JormFactory.init(), and org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.setJonasInfo(). |
|
Is a jdbc mapping is defined for this relationship role ?
Definition at line 435 of file EjbRelationshipRoleDesc.java. |
|
It returns a boolean value which indicates if the cmr has been added by JOnAS (true) or if the user has specified a cmr field in the descriptor. A CMR field is be added to manage the coherence of the relation OXu
Definition at line 379 of file EjbRelationshipRoleDesc.java. |
|
In M-N relationships, only 1 role will write data on DB.
Definition at line 443 of file EjbRelationshipRoleDesc.java. |
|
Get state of opposite relationship-role is relation multiple.
Definition at line 352 of file EjbRelationshipRoleDesc.java. |
|
Get state of this relationship-role is relation multiple. (get state of field is relation multiple).
Definition at line 361 of file EjbRelationshipRoleDesc.java. |
|
Definition at line 369 of file EjbRelationshipRoleDesc.java. |
|
mark the cmr as added by JOnAS Definition at line 276 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.setJonasInfo(). |
|
set the source bean of this relation-ship role.
Definition at line 284 of file EjbRelationshipRoleDesc.java. Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(). |
|
set the target bean of this relation-ship role.
Definition at line 292 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getLocalClass(). Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.DeploymentDescEjb2(). |
Here is the call graph for this function:
|
String representation of the object for test purpose
Definition at line 461 of file EjbRelationshipRoleDesc.java. References org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.toString(). Referenced by org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc.toString(). |
Here is the call graph for this function:
|
This constant can be used to represent an index of a gen class. Definition at line 51 of file EjbRelationshipRoleDesc.java. |
|
Don't change these values without looking at getRelationType() ! Definition at line 68 of file EjbRelationshipRoleDesc.java. |
|
This constant can be used to represent the source of the relation, ie the element which references the other. Definition at line 57 of file EjbRelationshipRoleDesc.java. |
|
This constant can be used to represent the target of the relation, ie the element which is referenced by the other. Definition at line 63 of file EjbRelationshipRoleDesc.java. |