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-destination-ref element contains a declaration
026: * of Deployment Component's reference to a message destination
027: * associated with a resource in Deployment Component's
028: * environment. It consists of:
029: *
030: * - an optional description
031: * - the message destination reference name
032: * - an optional message destination type
033: * - an optional specification as to whether
034: * the destination is used for
035: * consuming or producing messages, or both.
036: * if not specified, "both" is assumed.
037: * - an optional link to the message destination
038: * - optional injection targets
039: *
040: * The message destination type must be supplied unless an
041: * injection target is specified, in which case the type
042: * of the target is used. If both are specified, the type
043: * must be assignment compatible with the type of the injection
044: * target.
045: *
046: * Examples:
047: *
048: * <message-destination-ref>
049: * <message-destination-ref-name>jms/StockQueue
050: * </message-destination-ref-name>
051: * <message-destination-type>javax.jms.Queue
052: * </message-destination-type>
053: * <message-destination-usage>Consumes
054: * </message-destination-usage>
055: * <message-destination-link>CorporateStocks
056: * </message-destination-link>
057: * </message-destination-ref>
058: *
059: *
060: *
061: *
062: * <p>Java class for message-destination-refType complex type.
063: *
064: * <p>The following schema fragment specifies the expected content contained within this class.
065: *
066: * <pre>
067: * <complexType name="message-destination-refType">
068: * <complexContent>
069: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
070: * <sequence>
071: * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
072: * <element name="message-destination-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
073: * <element name="message-destination-type" type="{http://java.sun.com/xml/ns/javaee}message-destination-typeType" minOccurs="0"/>
074: * <element name="message-destination-usage" type="{http://java.sun.com/xml/ns/javaee}message-destination-usageType" minOccurs="0"/>
075: * <element name="message-destination-link" type="{http://java.sun.com/xml/ns/javaee}message-destination-linkType" minOccurs="0"/>
076: * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
077: * </sequence>
078: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
079: * </restriction>
080: * </complexContent>
081: * </complexType>
082: * </pre>
083: *
084: *
085: */
086: @XmlAccessorType(XmlAccessType.FIELD)
087: @XmlType(name="message-destination-refType",propOrder={"description","messageDestinationRefName","messageDestinationType","messageDestinationUsage","messageDestinationLink","mappedName","injectionTarget"})
088: public class MessageDestinationRefType {
089:
090: protected List<DescriptionType> description;
091: @XmlElement(name="message-destination-ref-name",required=true)
092: protected JndiNameType messageDestinationRefName;
093: @XmlElement(name="message-destination-type")
094: protected MessageDestinationTypeType messageDestinationType;
095: @XmlElement(name="message-destination-usage")
096: protected MessageDestinationUsageType messageDestinationUsage;
097: @XmlElement(name="message-destination-link")
098: protected MessageDestinationLinkType messageDestinationLink;
099: @XmlElement(name="mapped-name")
100: protected XsdStringType mappedName;
101: @XmlElement(name="injection-target")
102: protected List<InjectionTargetType> injectionTarget;
103: @XmlAttribute
104: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
105: @XmlID
106: protected java.lang.String id;
107:
108: /**
109: * Gets the value of the description property.
110: *
111: * <p>
112: * This accessor method returns a reference to the live list,
113: * not a snapshot. Therefore any modification you make to the
114: * returned list will be present inside the JAXB object.
115: * This is why there is not a <CODE>set</CODE> method for the description property.
116: *
117: * <p>
118: * For example, to add a new item, do as follows:
119: * <pre>
120: * getDescription().add(newItem);
121: * </pre>
122: *
123: *
124: * <p>
125: * Objects of the following type(s) are allowed in the list
126: * {@link DescriptionType }
127: *
128: *
129: */
130: public List<DescriptionType> getDescription() {
131: if (description == null) {
132: description = new ArrayList<DescriptionType>();
133: }
134: return this .description;
135: }
136:
137: /**
138: * Gets the value of the messageDestinationRefName property.
139: *
140: * @return
141: * possible object is
142: * {@link JndiNameType }
143: *
144: */
145: public JndiNameType getMessageDestinationRefName() {
146: return messageDestinationRefName;
147: }
148:
149: /**
150: * Sets the value of the messageDestinationRefName property.
151: *
152: * @param value
153: * allowed object is
154: * {@link JndiNameType }
155: *
156: */
157: public void setMessageDestinationRefName(JndiNameType value) {
158: this .messageDestinationRefName = value;
159: }
160:
161: /**
162: * Gets the value of the messageDestinationType property.
163: *
164: * @return
165: * possible object is
166: * {@link MessageDestinationTypeType }
167: *
168: */
169: public MessageDestinationTypeType getMessageDestinationType() {
170: return messageDestinationType;
171: }
172:
173: /**
174: * Sets the value of the messageDestinationType property.
175: *
176: * @param value
177: * allowed object is
178: * {@link MessageDestinationTypeType }
179: *
180: */
181: public void setMessageDestinationType(
182: MessageDestinationTypeType value) {
183: this .messageDestinationType = value;
184: }
185:
186: /**
187: * Gets the value of the messageDestinationUsage property.
188: *
189: * @return
190: * possible object is
191: * {@link MessageDestinationUsageType }
192: *
193: */
194: public MessageDestinationUsageType getMessageDestinationUsage() {
195: return messageDestinationUsage;
196: }
197:
198: /**
199: * Sets the value of the messageDestinationUsage property.
200: *
201: * @param value
202: * allowed object is
203: * {@link MessageDestinationUsageType }
204: *
205: */
206: public void setMessageDestinationUsage(
207: MessageDestinationUsageType value) {
208: this .messageDestinationUsage = value;
209: }
210:
211: /**
212: * Gets the value of the messageDestinationLink property.
213: *
214: * @return
215: * possible object is
216: * {@link MessageDestinationLinkType }
217: *
218: */
219: public MessageDestinationLinkType getMessageDestinationLink() {
220: return messageDestinationLink;
221: }
222:
223: /**
224: * Sets the value of the messageDestinationLink property.
225: *
226: * @param value
227: * allowed object is
228: * {@link MessageDestinationLinkType }
229: *
230: */
231: public void setMessageDestinationLink(
232: MessageDestinationLinkType value) {
233: this .messageDestinationLink = value;
234: }
235:
236: /**
237: * Gets the value of the mappedName property.
238: *
239: * @return
240: * possible object is
241: * {@link XsdStringType }
242: *
243: */
244: public XsdStringType getMappedName() {
245: return mappedName;
246: }
247:
248: /**
249: * Sets the value of the mappedName property.
250: *
251: * @param value
252: * allowed object is
253: * {@link XsdStringType }
254: *
255: */
256: public void setMappedName(XsdStringType value) {
257: this .mappedName = value;
258: }
259:
260: /**
261: * Gets the value of the injectionTarget property.
262: *
263: * <p>
264: * This accessor method returns a reference to the live list,
265: * not a snapshot. Therefore any modification you make to the
266: * returned list will be present inside the JAXB object.
267: * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
268: *
269: * <p>
270: * For example, to add a new item, do as follows:
271: * <pre>
272: * getInjectionTarget().add(newItem);
273: * </pre>
274: *
275: *
276: * <p>
277: * Objects of the following type(s) are allowed in the list
278: * {@link InjectionTargetType }
279: *
280: *
281: */
282: public List<InjectionTargetType> getInjectionTarget() {
283: if (injectionTarget == null) {
284: injectionTarget = new ArrayList<InjectionTargetType>();
285: }
286: return this .injectionTarget;
287: }
288:
289: /**
290: * Gets the value of the id property.
291: *
292: * @return
293: * possible object is
294: * {@link java.lang.String }
295: *
296: */
297: public java.lang.String getId() {
298: return id;
299: }
300:
301: /**
302: * Sets the value of the id property.
303: *
304: * @param value
305: * allowed object is
306: * {@link java.lang.String }
307: *
308: */
309: public void setId(java.lang.String value) {
310: this.id = value;
311: }
312:
313: }
|