org.objectweb.jonas_web.deployment.xml
Class UserDataConstraint

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

public class UserDataConstraint
extends AbsElement

This class defines the implementation of the element user-data-constraint

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
UserDataConstraint()
          Constructor
 
Method Summary
 void addDescription(java.lang.String description)
          Add a new description element to this object
 JLinkedList getDescriptionList()
          Gets the description list
 java.lang.String getTransportGuarantee()
          Gets the transport-guarantee
 void setTransportGuarantee(java.lang.String transportGuarantee)
          Add a new transport-guarantee element to this object
 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

UserDataConstraint

public UserDataConstraint()
Constructor

Method Detail

addDescription

public void addDescription(java.lang.String description)
Add a new description element to this object

Parameters:
description - description

setTransportGuarantee

public void setTransportGuarantee(java.lang.String transportGuarantee)
Add a new transport-guarantee element to this object

Parameters:
transportGuarantee - transport-guarantee

getDescriptionList

public JLinkedList getDescriptionList()
Gets the description list

Returns:
the description list

getTransportGuarantee

public java.lang.String getTransportGuarantee()
Gets the transport-guarantee

Returns:
the transport-guarantee

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.