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

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

public class CmpFieldJdbcMapping
extends AbsElement

This class defines the implementation of the element cmp-field-jdbc-mapping

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
CmpFieldJdbcMapping()
          Constructor
 
Method Summary
 String getFieldName()
          Gets the field-name
 String getJdbcFieldName()
          Gets the jdbc-field-name
 String getSqlType()
          Gets the sql-type
 void setFieldName(String fieldName)
          Set the field-name
 void setJdbcFieldName(String jdbcFieldName)
          Set the jdbc-field-name
 void setSqlType(String sqlType)
          Set the sql-type
 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

CmpFieldJdbcMapping

public CmpFieldJdbcMapping()
Constructor

Method Detail

getFieldName

public String getFieldName()
Gets the field-name

Returns:
the field-name

setFieldName

public void setFieldName(String fieldName)
Set the field-name

Parameters:
fieldName - fieldName

getJdbcFieldName

public String getJdbcFieldName()
Gets the jdbc-field-name

Returns:
the jdbc-field-name

setJdbcFieldName

public void setJdbcFieldName(String jdbcFieldName)
Set the jdbc-field-name

Parameters:
jdbcFieldName - jdbcFieldName

getSqlType

public String getSqlType()
Gets the sql-type

Returns:
the sql-type

setSqlType

public void setSqlType(String sqlType)
Set the sql-type

Parameters:
sqlType - sqlType

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.