org.objectweb.jonas_ejb.deployment.xml
Class CmrField

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

public class CmrField
extends AbsElement

This class defines the implementation of the element cmr-field

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
CmrField()
          Constructor
 
Method Summary
 java.lang.String getCmrFieldName()
          Gets the cmr-field-name
 java.lang.String getCmrFieldType()
          Gets the cmr-field-type
 java.lang.String getDescription()
          Gets the description
 void setCmrFieldName(java.lang.String cmrFieldName)
          Set the cmr-field-name
 void setCmrFieldType(java.lang.String cmrFieldType)
          Set the cmr-field-type
 void setDescription(java.lang.String description)
          Set the description
 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

CmrField

public CmrField()
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

getCmrFieldName

public java.lang.String getCmrFieldName()
Gets the cmr-field-name

Returns:
the cmr-field-name

setCmrFieldName

public void setCmrFieldName(java.lang.String cmrFieldName)
Set the cmr-field-name

Parameters:
cmrFieldName - cmrFieldName

getCmrFieldType

public java.lang.String getCmrFieldType()
Gets the cmr-field-type

Returns:
the cmr-field-type

setCmrFieldType

public void setCmrFieldType(java.lang.String cmrFieldType)
Set the cmr-field-type

Parameters:
cmrFieldType - cmrFieldType

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.