org.ow2.jonas.deployment.common.xml
Class MessageDestinationRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.MessageDestinationRef
All Implemented Interfaces:
Serializable, Element

public class MessageDestinationRef
extends AbsElement

This class defines the implementation of the element message-destination-ref.

Author:
Eric Hardesty
See Also:
Serialized Form

Constructor Summary
MessageDestinationRef()
           
 
Method Summary
 String getDescription()
           
 String getMessageDestinationLink()
           
 String getMessageDestinationRefName()
           
 String getMessageDestinationType()
           
 String getMessageDestinationUsage()
           
 void setDescription(String description)
          Sets the description
 void setMessageDestinationLink(String link)
          Sets the link
 void setMessageDestinationRefName(String refName)
          Sets the name
 void setMessageDestinationType(String type)
          Sets the type
 void setMessageDestinationUsage(String usage)
          Sets the usage
 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

MessageDestinationRef

public MessageDestinationRef()
Method Detail

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to use

setMessageDestinationRefName

public void setMessageDestinationRefName(String refName)
Sets the name

Parameters:
refName - the name to use

setMessageDestinationType

public void setMessageDestinationType(String type)
Sets the type

Parameters:
type - the type to use

setMessageDestinationUsage

public void setMessageDestinationUsage(String usage)
Sets the usage

Parameters:
usage - the usage to use

setMessageDestinationLink

public void setMessageDestinationLink(String link)
Sets the link

Parameters:
link - the link to use

getDescription

public String getDescription()
Returns:
the description of the messageDestination-ref

getMessageDestinationRefName

public String getMessageDestinationRefName()
Returns:
the name of the messageDestination-ref

getMessageDestinationType

public String getMessageDestinationType()
Returns:
the type of the messageDestination-ref

getMessageDestinationUsage

public String getMessageDestinationUsage()
Returns:
the usage of the messageDestination-ref

getMessageDestinationLink

public String getMessageDestinationLink()
Returns:
the link of the messageDestination-ref

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.