org.objectweb.jonas_ejb.deployment.xml
Class CmpField

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

public class CmpField
extends AbsElement

This class defines the implementation of the element cmp-field

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
CmpField()
          Constructor
 
Method Summary
 java.lang.String getDescription()
          Gets the description
 java.lang.String getFieldName()
          Gets the field-name
 void setDescription(java.lang.String description)
          Set the description
 void setFieldName(java.lang.String fieldName)
          Set the field-name
 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

CmpField

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

getFieldName

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

Returns:
the field-name

setFieldName

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

Parameters:
fieldName - fieldName

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.