org.objectweb.jonas_ejb.deployment.xml
Class MessageDrivenDestination

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

public class MessageDrivenDestination
extends AbsElement

This class defines the implementation of the element message-driven-destination

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
MessageDrivenDestination()
          Constructor
 
Method Summary
 java.lang.String getDestinationType()
          Gets the destination-type
 java.lang.String getSubscriptionDurability()
          Gets the subscription-durability
 void setDestinationType(java.lang.String destinationType)
          Set the destination-type
 void setSubscriptionDurability(java.lang.String subscriptionDurability)
          Set the subscription-durability
 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

MessageDrivenDestination

public MessageDrivenDestination()
Constructor

Method Detail

getDestinationType

public java.lang.String getDestinationType()
Gets the destination-type

Returns:
the destination-type

setDestinationType

public void setDestinationType(java.lang.String destinationType)
Set the destination-type

Parameters:
destinationType - destinationType

getSubscriptionDurability

public java.lang.String getSubscriptionDurability()
Gets the subscription-durability

Returns:
the subscription-durability

setSubscriptionDurability

public void setSubscriptionDurability(java.lang.String subscriptionDurability)
Set the subscription-durability

Parameters:
subscriptionDurability - subscriptionDurability

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.