org.objectweb.jonas_ejb.deployment.xml
Class JonasEjbRelation

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

public class JonasEjbRelation
extends AbsElement

This class defines the implementation of the element jonas-ejb-relation

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
JonasEjbRelation()
          Constructor
 
Method Summary
 void addJonasEjbRelationshipRole(JonasEjbRelationshipRole jonasEjbRelationshipRole)
          Add a new jonas-ejb-relationship-role element to this object
 java.lang.String getEjbRelationName()
          Gets the ejb-relation-name
 java.lang.String getJdbcTableName()
          Gets the jdbc-table-name
 JLinkedList getJonasEjbRelationshipRoleList()
          Gets the jonas-ejb-relationship-role
 void setEjbRelationName(java.lang.String ejbRelationName)
          Set the ejb-relation-name
 void setJdbcTableName(java.lang.String jdbcTableName)
          Set the jdbc-table-name
 void setJonasEjbRelationshipRoleList(JLinkedList jonasEjbRelationshipRoleList)
          Set the jonas-ejb-relationship-role
 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

JonasEjbRelation

public JonasEjbRelation()
Constructor

Method Detail

getEjbRelationName

public java.lang.String getEjbRelationName()
Gets the ejb-relation-name

Returns:
the ejb-relation-name

setEjbRelationName

public void setEjbRelationName(java.lang.String ejbRelationName)
Set the ejb-relation-name

Parameters:
ejbRelationName - ejbRelationName

getJdbcTableName

public java.lang.String getJdbcTableName()
Gets the jdbc-table-name

Returns:
the jdbc-table-name

setJdbcTableName

public void setJdbcTableName(java.lang.String jdbcTableName)
Set the jdbc-table-name

Parameters:
jdbcTableName - jdbcTableName

getJonasEjbRelationshipRoleList

public JLinkedList getJonasEjbRelationshipRoleList()
Gets the jonas-ejb-relationship-role

Returns:
the jonas-ejb-relationship-role

setJonasEjbRelationshipRoleList

public void setJonasEjbRelationshipRoleList(JLinkedList jonasEjbRelationshipRoleList)
Set the jonas-ejb-relationship-role

Parameters:
jonasEjbRelationshipRoleList - jonasEjbRelationshipRole

addJonasEjbRelationshipRole

public void addJonasEjbRelationshipRole(JonasEjbRelationshipRole jonasEjbRelationshipRole)
Add a new jonas-ejb-relationship-role element to this object

Parameters:
jonasEjbRelationshipRole - the jonasEjbRelationshipRoleobject

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.