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

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

public class ForeignKeyJdbcMapping
extends AbsElement

This class defines the implementation of the element foreign-key-jdbc-mapping

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
ForeignKeyJdbcMapping()
          Constructor
 
Method Summary
 String getForeignKeyJdbcName()
          Gets the foreign-key-jdbc-name
 String getKeyJdbcName()
          Gets the key-jdbc-name
 void setForeignKeyJdbcName(String foreignKeyJdbcName)
          Set the foreign-key-jdbc-name
 void setKeyJdbcName(String keyJdbcName)
          Set the key-jdbc-name
 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

ForeignKeyJdbcMapping

public ForeignKeyJdbcMapping()
Constructor

Method Detail

getForeignKeyJdbcName

public String getForeignKeyJdbcName()
Gets the foreign-key-jdbc-name

Returns:
the foreign-key-jdbc-name

setForeignKeyJdbcName

public void setForeignKeyJdbcName(String foreignKeyJdbcName)
Set the foreign-key-jdbc-name

Parameters:
foreignKeyJdbcName - foreignKeyJdbcName

getKeyJdbcName

public String getKeyJdbcName()
Gets the key-jdbc-name

Returns:
the key-jdbc-name

setKeyJdbcName

public void setKeyJdbcName(String keyJdbcName)
Set the key-jdbc-name

Parameters:
keyJdbcName - keyJdbcName

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.