org.objectweb.jonas_ejb.deployment.api
Class EjbRelationDesc

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.deployment.api.EjbRelationDesc
Direct Known Subclasses:
EjbRelationJdbcDesc

public class EjbRelationDesc
extends java.lang.Object

Created on Jul 7, 2002 Class to hold meta-information related to an ejb-relation.

Author:
Christophe Ney [cney@batisseurs.com]

Constructor Summary
EjbRelationDesc(org.objectweb.jonas_ejb.deployment.xml.EjbRelation ejbRelation)
          constructor to be used by parent node
 
Method Summary
 java.lang.String getName()
          get the name of the relationship.
 EjbRelationshipRoleDesc getRelationshipRoleDesc1()
          get the meta-information for the first relation-ship-role
 EjbRelationshipRoleDesc getRelationshipRoleDesc2()
          get the meta-information for the second relation-ship-role
protected  EjbRelationshipRoleDesc newEjbRelationshipRoleDesc(org.objectweb.jonas_ejb.deployment.xml.EjbRelationshipRole role, boolean target, EjbRelationDesc ejbRelationDesc, org.objectweb.jonas_ejb.deployment.xml.EjbRelation ejbRelation)
          EjbRelationshipRoleDesc factory method.
 java.lang.String toString()
          String representation of the object for test purpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbRelationDesc

public EjbRelationDesc(org.objectweb.jonas_ejb.deployment.xml.EjbRelation ejbRelation)
                throws DeploymentDescException
constructor to be used by parent node
Method Detail

getName

public java.lang.String getName()
get the name of the relationship.

getRelationshipRoleDesc1

public EjbRelationshipRoleDesc getRelationshipRoleDesc1()
get the meta-information for the first relation-ship-role

getRelationshipRoleDesc2

public EjbRelationshipRoleDesc getRelationshipRoleDesc2()
get the meta-information for the second relation-ship-role

newEjbRelationshipRoleDesc

protected EjbRelationshipRoleDesc newEjbRelationshipRoleDesc(org.objectweb.jonas_ejb.deployment.xml.EjbRelationshipRole role,
                                                             boolean target,
                                                             EjbRelationDesc ejbRelationDesc,
                                                             org.objectweb.jonas_ejb.deployment.xml.EjbRelation ejbRelation)
                                                      throws DeploymentDescException
EjbRelationshipRoleDesc factory method. To overwrite for jdbc implementation.

toString

public java.lang.String toString()
String representation of the object for test purpose
Overrides:
toString in class java.lang.Object
Returns:
String representation of this object