org.ow2.jonas.deployment.ejb.xml
Class JonasEjbRelationshipRole

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ejb.xml.JonasEjbRelationshipRole
All Implemented Interfaces:
Serializable, Element

public class JonasEjbRelationshipRole
extends AbsElement

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

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
JonasEjbRelationshipRole()
          Constructor
 
Method Summary
 void addForeignKeyJdbcMapping(ForeignKeyJdbcMapping foreignKeyJdbcMapping)
          Add a new foreign-key-jdbc-mapping element to this object
 String getEjbRelationshipRoleName()
          Gets the ejb-relationship-role-name
 JLinkedList getForeignKeyJdbcMappingList()
          Gets the foreign-key-jdbc-mapping
 void setEjbRelationshipRoleName(String ejbRelationshipRoleName)
          Set the ejb-relationship-role-name
 void setForeignKeyJdbcMappingList(JLinkedList foreignKeyJdbcMappingList)
          Set the foreign-key-jdbc-mapping
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.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

JonasEjbRelationshipRole

public JonasEjbRelationshipRole()
Constructor

Method Detail

getEjbRelationshipRoleName

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

Returns:
the ejb-relationship-role-name

setEjbRelationshipRoleName

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

Parameters:
ejbRelationshipRoleName - ejbRelationshipRoleName

getForeignKeyJdbcMappingList

public JLinkedList getForeignKeyJdbcMappingList()
Gets the foreign-key-jdbc-mapping

Returns:
the foreign-key-jdbc-mapping

setForeignKeyJdbcMappingList

public void setForeignKeyJdbcMappingList(JLinkedList foreignKeyJdbcMappingList)
Set the foreign-key-jdbc-mapping

Parameters:
foreignKeyJdbcMappingList - foreignKeyJdbcMapping

addForeignKeyJdbcMapping

public void addForeignKeyJdbcMapping(ForeignKeyJdbcMapping foreignKeyJdbcMapping)
Add a new foreign-key-jdbc-mapping element to this object

Parameters:
foreignKeyJdbcMapping - the foreignKeyJdbcMappingobject

toXML

public 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.