net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class MessageDestinationType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.MessageDestinationType
All Implemented Interfaces:
Serializable, Cloneable

public class MessageDestinationType
extends Object
implements Serializable, Cloneable

The message-destinationType specifies a message destination. The logical destination described by this element is mapped to a physical destination by the Deployer. The message destination element contains: - an optional description - an optional display-name - an optional icon - a message destination name which must be unique among message destination names within the same Deployment File. - an optional mapped name Example: CorporateStocks

Java class for message-destinationType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="message-destinationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="message-destination-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  List<IconType> icon
           
protected  String id
           
protected  XsdStringType mappedName
           
protected  String messageDestinationName
           
 
Constructor Summary
MessageDestinationType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.MessageDestinationType instance.
MessageDestinationType(MessageDestinationType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.MessageDestinationType instance by copying a given instance.
 
Method Summary
 MessageDestinationType clone()
          Creates and returns a copy of this object.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
static void copyDisplayName(List<DisplayNameType> source, List<DisplayNameType> target)
          Copies all values of property DisplayName.
static void copyIcon(List<IconType> source, List<IconType> target)
          Copies all values of property Icon.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 String getMessageDestinationName()
          Gets the value of the messageDestinationName property.
 void setId(String value)
          Sets the value of the id property.
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 void setMessageDestinationName(String value)
          Sets the value of the messageDestinationName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

messageDestinationName

protected String messageDestinationName

mappedName

protected XsdStringType mappedName

id

protected String id
Constructor Detail

MessageDestinationType

public MessageDestinationType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.MessageDestinationType instance.


MessageDestinationType

public MessageDestinationType(MessageDestinationType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.MessageDestinationType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list DescriptionType


getDisplayName

public List<DisplayNameType> getDisplayName()
Gets the value of the displayName property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the displayName property.

For example, to add a new item, do as follows:

    getDisplayName().add(newItem);
 

Objects of the following type(s) are allowed in the list DisplayNameType


getIcon

public List<IconType> getIcon()
Gets the value of the icon property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the icon property.

For example, to add a new item, do as follows:

    getIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list IconType


getMessageDestinationName

public String getMessageDestinationName()
Gets the value of the messageDestinationName property.

Returns:
possible object is String

setMessageDestinationName

public void setMessageDestinationName(String value)
Sets the value of the messageDestinationName property.

Parameters:
value - allowed object is String

getMappedName

public XsdStringType getMappedName()
Gets the value of the mappedName property.

Returns:
possible object is XsdStringType

setMappedName

public void setMappedName(XsdStringType value)
Sets the value of the mappedName property.

Parameters:
value - allowed object is XsdStringType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyDescription

public static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyDisplayName

public static void copyDisplayName(List<DisplayNameType> source,
                                   List<DisplayNameType> target)
Copies all values of property DisplayName.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyIcon

public static void copyIcon(List<IconType> source,
                            List<IconType> target)
Copies all values of property Icon.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public MessageDestinationType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.