org.objectweb.jonas_ejb.deployment.xml
Class EjbRelationshipRole

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.EjbRelationshipRole
All Implemented Interfaces:
java.io.Serializable, Element

public class EjbRelationshipRole
extends AbsElement

This class defines the implementation of the element ejb-relationship-role

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
EjbRelationshipRole()
          Constructor
 
Method Summary
 CmrField getCmrField()
          Gets the cmr-field
 java.lang.String getDescription()
          Gets the description
 java.lang.String getEjbRelationshipRoleName()
          Gets the ejb-relationship-role-name
 java.lang.String getMultiplicity()
          Gets the multiplicity
 RelationshipRoleSource getRelationshipRoleSource()
          Gets the relationship-role-source
 boolean isCascadeDelete()
          Gets the cascade-delete
 void setCascadeDelete()
          Set the cascade-delete
 void setCmrField(CmrField cmrField)
          Set the cmr-field
 void setDescription(java.lang.String description)
          Set the description
 void setEjbRelationshipRoleName(java.lang.String ejbRelationshipRoleName)
          Set the ejb-relationship-role-name
 void setMultiplicity(java.lang.String multiplicity)
          Set the multiplicity
 void setRelationshipRoleSource(RelationshipRoleSource relationshipRoleSource)
          Set the relationship-role-source
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbRelationshipRole

public EjbRelationshipRole()
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description

getEjbRelationshipRoleName

public java.lang.String getEjbRelationshipRoleName()
Gets the ejb-relationship-role-name

Returns:
the ejb-relationship-role-name

setEjbRelationshipRoleName

public void setEjbRelationshipRoleName(java.lang.String ejbRelationshipRoleName)
Set the ejb-relationship-role-name

Parameters:
ejbRelationshipRoleName - ejbRelationshipRoleName

getMultiplicity

public java.lang.String getMultiplicity()
Gets the multiplicity

Returns:
the multiplicity

setMultiplicity

public void setMultiplicity(java.lang.String multiplicity)
Set the multiplicity

Parameters:
multiplicity - multiplicity

isCascadeDelete

public boolean isCascadeDelete()
Gets the cascade-delete

Returns:
true if cascade-delete

setCascadeDelete

public void setCascadeDelete()
Set the cascade-delete


getRelationshipRoleSource

public RelationshipRoleSource getRelationshipRoleSource()
Gets the relationship-role-source

Returns:
the relationship-role-source

setRelationshipRoleSource

public void setRelationshipRoleSource(RelationshipRoleSource relationshipRoleSource)
Set the relationship-role-source

Parameters:
relationshipRoleSource - relationshipRoleSource

getCmrField

public CmrField getCmrField()
Gets the cmr-field

Returns:
the cmr-field

setCmrField

public void setCmrField(CmrField cmrField)
Set the cmr-field

Parameters:
cmrField - cmrField

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.