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

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ejb.xml.CmrField
All Implemented Interfaces:
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
 String getCmrFieldName()
          Gets the cmr-field-name
 String getCmrFieldType()
          Gets the cmr-field-type
 String getDescription()
          Gets the description
 void setCmrFieldName(String cmrFieldName)
          Set the cmr-field-name
 void setCmrFieldType(String cmrFieldType)
          Set the cmr-field-type
 void setDescription(String description)
          Set the description
 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

CmrField

public CmrField()
Constructor

Method Detail

getDescription

public String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(String description)
Set the description

Parameters:
description - description

getCmrFieldName

public String getCmrFieldName()
Gets the cmr-field-name

Returns:
the cmr-field-name

setCmrFieldName

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

Parameters:
cmrFieldName - cmrFieldName

getCmrFieldType

public String getCmrFieldType()
Gets the cmr-field-type

Returns:
the cmr-field-type

setCmrFieldType

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

Parameters:
cmrFieldType - cmrFieldType

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.