001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.10.31 at 10:25:50 AM GMT+08:00
006: //
007:
008: package org.apache.cxf.jaxws.javaee;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: *
023: *
024: *
025: * The message-destinationType specifies a message
026: * destination. The logical destination described by this
027: * element is mapped to a physical destination by the Deployer.
028: *
029: * The message destination element contains:
030: *
031: * - an optional description
032: * - an optional display-name
033: * - an optional icon
034: * - a message destination name which must be unique
035: * among message destination names within the same
036: * Deployment File.
037: * - an optional mapped name
038: *
039: * Example:
040: *
041: * <message-destination>
042: * <message-destination-name>CorporateStocks
043: * </message-destination-name>
044: * </message-destination>
045: *
046: *
047: *
048: *
049: * <p>Java class for message-destinationType complex type.
050: *
051: * <p>The following schema fragment specifies the expected content contained within this class.
052: *
053: * <pre>
054: * <complexType name="message-destinationType">
055: * <complexContent>
056: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
057: * <sequence>
058: * <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
059: * <element name="message-destination-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
060: * <element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
061: * </sequence>
062: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
063: * </restriction>
064: * </complexContent>
065: * </complexType>
066: * </pre>
067: *
068: *
069: */
070: @XmlAccessorType(XmlAccessType.FIELD)
071: @XmlType(name="message-destinationType",propOrder={"description","displayName","icon","messageDestinationName","mappedName"})
072: public class MessageDestinationType {
073:
074: protected List<DescriptionType> description;
075: @XmlElement(name="display-name")
076: protected List<DisplayNameType> displayName;
077: protected List<IconType> icon;
078: @XmlElement(name="message-destination-name",required=true)
079: protected org.apache.cxf.jaxws.javaee.String messageDestinationName;
080: @XmlElement(name="mapped-name")
081: protected XsdStringType mappedName;
082: @XmlAttribute
083: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
084: @XmlID
085: protected java.lang.String id;
086:
087: /**
088: * Gets the value of the description property.
089: *
090: * <p>
091: * This accessor method returns a reference to the live list,
092: * not a snapshot. Therefore any modification you make to the
093: * returned list will be present inside the JAXB object.
094: * This is why there is not a <CODE>set</CODE> method for the description property.
095: *
096: * <p>
097: * For example, to add a new item, do as follows:
098: * <pre>
099: * getDescription().add(newItem);
100: * </pre>
101: *
102: *
103: * <p>
104: * Objects of the following type(s) are allowed in the list
105: * {@link DescriptionType }
106: *
107: *
108: */
109: public List<DescriptionType> getDescription() {
110: if (description == null) {
111: description = new ArrayList<DescriptionType>();
112: }
113: return this .description;
114: }
115:
116: /**
117: * Gets the value of the displayName property.
118: *
119: * <p>
120: * This accessor method returns a reference to the live list,
121: * not a snapshot. Therefore any modification you make to the
122: * returned list will be present inside the JAXB object.
123: * This is why there is not a <CODE>set</CODE> method for the displayName property.
124: *
125: * <p>
126: * For example, to add a new item, do as follows:
127: * <pre>
128: * getDisplayName().add(newItem);
129: * </pre>
130: *
131: *
132: * <p>
133: * Objects of the following type(s) are allowed in the list
134: * {@link DisplayNameType }
135: *
136: *
137: */
138: public List<DisplayNameType> getDisplayName() {
139: if (displayName == null) {
140: displayName = new ArrayList<DisplayNameType>();
141: }
142: return this .displayName;
143: }
144:
145: /**
146: * Gets the value of the icon property.
147: *
148: * <p>
149: * This accessor method returns a reference to the live list,
150: * not a snapshot. Therefore any modification you make to the
151: * returned list will be present inside the JAXB object.
152: * This is why there is not a <CODE>set</CODE> method for the icon property.
153: *
154: * <p>
155: * For example, to add a new item, do as follows:
156: * <pre>
157: * getIcon().add(newItem);
158: * </pre>
159: *
160: *
161: * <p>
162: * Objects of the following type(s) are allowed in the list
163: * {@link IconType }
164: *
165: *
166: */
167: public List<IconType> getIcon() {
168: if (icon == null) {
169: icon = new ArrayList<IconType>();
170: }
171: return this .icon;
172: }
173:
174: /**
175: * Gets the value of the messageDestinationName property.
176: *
177: * @return
178: * possible object is
179: * {@link org.apache.cxf.jaxws.javaee.String }
180: *
181: */
182: public org.apache.cxf.jaxws.javaee.String getMessageDestinationName() {
183: return messageDestinationName;
184: }
185:
186: /**
187: * Sets the value of the messageDestinationName property.
188: *
189: * @param value
190: * allowed object is
191: * {@link org.apache.cxf.jaxws.javaee.String }
192: *
193: */
194: public void setMessageDestinationName(
195: org.apache.cxf.jaxws.javaee.String value) {
196: this .messageDestinationName = value;
197: }
198:
199: /**
200: * Gets the value of the mappedName property.
201: *
202: * @return
203: * possible object is
204: * {@link XsdStringType }
205: *
206: */
207: public XsdStringType getMappedName() {
208: return mappedName;
209: }
210:
211: /**
212: * Sets the value of the mappedName property.
213: *
214: * @param value
215: * allowed object is
216: * {@link XsdStringType }
217: *
218: */
219: public void setMappedName(XsdStringType value) {
220: this .mappedName = value;
221: }
222:
223: /**
224: * Gets the value of the id property.
225: *
226: * @return
227: * possible object is
228: * {@link java.lang.String }
229: *
230: */
231: public java.lang.String getId() {
232: return id;
233: }
234:
235: /**
236: * Sets the value of the id property.
237: *
238: * @param value
239: * allowed object is
240: * {@link java.lang.String }
241: *
242: */
243: public void setId(java.lang.String value) {
244: this.id = value;
245: }
246:
247: }
|