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: * The service-ref element declares a reference to a Web
025: * service. It contains optional description, display name and
026: * icons, a declaration of the required Service interface,
027: * an optional WSDL document location, an optional set
028: * of JAX-RPC mappings, an optional QName for the service element,
029: * an optional set of Service Endpoint Interfaces to be resolved
030: * by the container to a WSDL port, and an optional set of handlers.
031: *
032: *
033: *
034: * <p>Java class for service-refType complex type.
035: *
036: * <p>The following schema fragment specifies the expected content contained within this class.
037: *
038: * <pre>
039: * <complexType name="service-refType">
040: * <complexContent>
041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042: * <sequence>
043: * <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
044: * <element name="service-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
045: * <element name="service-interface" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
046: * <element name="service-ref-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
047: * <element name="wsdl-file" type="{http://java.sun.com/xml/ns/javaee}xsdAnyURIType" minOccurs="0"/>
048: * <element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
049: * <element name="service-qname" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" minOccurs="0"/>
050: * <element name="port-component-ref" type="{http://java.sun.com/xml/ns/javaee}port-component-refType" maxOccurs="unbounded" minOccurs="0"/>
051: * <choice>
052: * <element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType" maxOccurs="unbounded" minOccurs="0"/>
053: * <element name="handler-chains" type="{http://java.sun.com/xml/ns/javaee}service-ref_handler-chainsType" minOccurs="0"/>
054: * </choice>
055: * <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
056: * </sequence>
057: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
058: * </restriction>
059: * </complexContent>
060: * </complexType>
061: * </pre>
062: *
063: *
064: */
065: @XmlAccessorType(XmlAccessType.FIELD)
066: @XmlType(name="service-refType",propOrder={"description","displayName","icon","serviceRefName","serviceInterface","serviceRefType","wsdlFile","jaxrpcMappingFile","serviceQname","portComponentRef","handler","handlerChains","mappedName","injectionTarget"})
067: public class ServiceRefType {
068:
069: protected List<DescriptionType> description;
070: @XmlElement(name="display-name")
071: protected List<DisplayNameType> displayName;
072: protected List<IconType> icon;
073: @XmlElement(name="service-ref-name",required=true)
074: protected JndiNameType serviceRefName;
075: @XmlElement(name="service-interface",required=true)
076: protected FullyQualifiedClassType serviceInterface;
077: @XmlElement(name="service-ref-type")
078: protected FullyQualifiedClassType serviceRefType;
079: @XmlElement(name="wsdl-file")
080: protected XsdAnyURIType wsdlFile;
081: @XmlElement(name="jaxrpc-mapping-file")
082: protected PathType jaxrpcMappingFile;
083: @XmlElement(name="service-qname")
084: protected XsdQNameType serviceQname;
085: @XmlElement(name="port-component-ref")
086: protected List<PortComponentRefType> portComponentRef;
087: protected List<ServiceRefHandlerType> handler;
088: @XmlElement(name="handler-chains")
089: protected ServiceRefHandlerChainsType handlerChains;
090: @XmlElement(name="mapped-name")
091: protected XsdStringType mappedName;
092: @XmlElement(name="injection-target")
093: protected List<InjectionTargetType> injectionTarget;
094: @XmlAttribute
095: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
096: @XmlID
097: protected java.lang.String id;
098:
099: /**
100: * Gets the value of the description property.
101: *
102: * <p>
103: * This accessor method returns a reference to the live list,
104: * not a snapshot. Therefore any modification you make to the
105: * returned list will be present inside the JAXB object.
106: * This is why there is not a <CODE>set</CODE> method for the description property.
107: *
108: * <p>
109: * For example, to add a new item, do as follows:
110: * <pre>
111: * getDescription().add(newItem);
112: * </pre>
113: *
114: *
115: * <p>
116: * Objects of the following type(s) are allowed in the list
117: * {@link DescriptionType }
118: *
119: *
120: */
121: public List<DescriptionType> getDescription() {
122: if (description == null) {
123: description = new ArrayList<DescriptionType>();
124: }
125: return this .description;
126: }
127:
128: /**
129: * Gets the value of the displayName property.
130: *
131: * <p>
132: * This accessor method returns a reference to the live list,
133: * not a snapshot. Therefore any modification you make to the
134: * returned list will be present inside the JAXB object.
135: * This is why there is not a <CODE>set</CODE> method for the displayName property.
136: *
137: * <p>
138: * For example, to add a new item, do as follows:
139: * <pre>
140: * getDisplayName().add(newItem);
141: * </pre>
142: *
143: *
144: * <p>
145: * Objects of the following type(s) are allowed in the list
146: * {@link DisplayNameType }
147: *
148: *
149: */
150: public List<DisplayNameType> getDisplayName() {
151: if (displayName == null) {
152: displayName = new ArrayList<DisplayNameType>();
153: }
154: return this .displayName;
155: }
156:
157: /**
158: * Gets the value of the icon property.
159: *
160: * <p>
161: * This accessor method returns a reference to the live list,
162: * not a snapshot. Therefore any modification you make to the
163: * returned list will be present inside the JAXB object.
164: * This is why there is not a <CODE>set</CODE> method for the icon property.
165: *
166: * <p>
167: * For example, to add a new item, do as follows:
168: * <pre>
169: * getIcon().add(newItem);
170: * </pre>
171: *
172: *
173: * <p>
174: * Objects of the following type(s) are allowed in the list
175: * {@link IconType }
176: *
177: *
178: */
179: public List<IconType> getIcon() {
180: if (icon == null) {
181: icon = new ArrayList<IconType>();
182: }
183: return this .icon;
184: }
185:
186: /**
187: * Gets the value of the serviceRefName property.
188: *
189: * @return
190: * possible object is
191: * {@link JndiNameType }
192: *
193: */
194: public JndiNameType getServiceRefName() {
195: return serviceRefName;
196: }
197:
198: /**
199: * Sets the value of the serviceRefName property.
200: *
201: * @param value
202: * allowed object is
203: * {@link JndiNameType }
204: *
205: */
206: public void setServiceRefName(JndiNameType value) {
207: this .serviceRefName = value;
208: }
209:
210: /**
211: * Gets the value of the serviceInterface property.
212: *
213: * @return
214: * possible object is
215: * {@link FullyQualifiedClassType }
216: *
217: */
218: public FullyQualifiedClassType getServiceInterface() {
219: return serviceInterface;
220: }
221:
222: /**
223: * Sets the value of the serviceInterface property.
224: *
225: * @param value
226: * allowed object is
227: * {@link FullyQualifiedClassType }
228: *
229: */
230: public void setServiceInterface(FullyQualifiedClassType value) {
231: this .serviceInterface = value;
232: }
233:
234: /**
235: * Gets the value of the serviceRefType property.
236: *
237: * @return
238: * possible object is
239: * {@link FullyQualifiedClassType }
240: *
241: */
242: public FullyQualifiedClassType getServiceRefType() {
243: return serviceRefType;
244: }
245:
246: /**
247: * Sets the value of the serviceRefType property.
248: *
249: * @param value
250: * allowed object is
251: * {@link FullyQualifiedClassType }
252: *
253: */
254: public void setServiceRefType(FullyQualifiedClassType value) {
255: this .serviceRefType = value;
256: }
257:
258: /**
259: * Gets the value of the wsdlFile property.
260: *
261: * @return
262: * possible object is
263: * {@link XsdAnyURIType }
264: *
265: */
266: public XsdAnyURIType getWsdlFile() {
267: return wsdlFile;
268: }
269:
270: /**
271: * Sets the value of the wsdlFile property.
272: *
273: * @param value
274: * allowed object is
275: * {@link XsdAnyURIType }
276: *
277: */
278: public void setWsdlFile(XsdAnyURIType value) {
279: this .wsdlFile = value;
280: }
281:
282: /**
283: * Gets the value of the jaxrpcMappingFile property.
284: *
285: * @return
286: * possible object is
287: * {@link PathType }
288: *
289: */
290: public PathType getJaxrpcMappingFile() {
291: return jaxrpcMappingFile;
292: }
293:
294: /**
295: * Sets the value of the jaxrpcMappingFile property.
296: *
297: * @param value
298: * allowed object is
299: * {@link PathType }
300: *
301: */
302: public void setJaxrpcMappingFile(PathType value) {
303: this .jaxrpcMappingFile = value;
304: }
305:
306: /**
307: * Gets the value of the serviceQname property.
308: *
309: * @return
310: * possible object is
311: * {@link XsdQNameType }
312: *
313: */
314: public XsdQNameType getServiceQname() {
315: return serviceQname;
316: }
317:
318: /**
319: * Sets the value of the serviceQname property.
320: *
321: * @param value
322: * allowed object is
323: * {@link XsdQNameType }
324: *
325: */
326: public void setServiceQname(XsdQNameType value) {
327: this .serviceQname = value;
328: }
329:
330: /**
331: * Gets the value of the portComponentRef property.
332: *
333: * <p>
334: * This accessor method returns a reference to the live list,
335: * not a snapshot. Therefore any modification you make to the
336: * returned list will be present inside the JAXB object.
337: * This is why there is not a <CODE>set</CODE> method for the portComponentRef property.
338: *
339: * <p>
340: * For example, to add a new item, do as follows:
341: * <pre>
342: * getPortComponentRef().add(newItem);
343: * </pre>
344: *
345: *
346: * <p>
347: * Objects of the following type(s) are allowed in the list
348: * {@link PortComponentRefType }
349: *
350: *
351: */
352: public List<PortComponentRefType> getPortComponentRef() {
353: if (portComponentRef == null) {
354: portComponentRef = new ArrayList<PortComponentRefType>();
355: }
356: return this .portComponentRef;
357: }
358:
359: /**
360: * Gets the value of the handler property.
361: *
362: * <p>
363: * This accessor method returns a reference to the live list,
364: * not a snapshot. Therefore any modification you make to the
365: * returned list will be present inside the JAXB object.
366: * This is why there is not a <CODE>set</CODE> method for the handler property.
367: *
368: * <p>
369: * For example, to add a new item, do as follows:
370: * <pre>
371: * getHandler().add(newItem);
372: * </pre>
373: *
374: *
375: * <p>
376: * Objects of the following type(s) are allowed in the list
377: * {@link ServiceRefHandlerType }
378: *
379: *
380: */
381: public List<ServiceRefHandlerType> getHandler() {
382: if (handler == null) {
383: handler = new ArrayList<ServiceRefHandlerType>();
384: }
385: return this .handler;
386: }
387:
388: /**
389: * Gets the value of the handlerChains property.
390: *
391: * @return
392: * possible object is
393: * {@link ServiceRefHandlerChainsType }
394: *
395: */
396: public ServiceRefHandlerChainsType getHandlerChains() {
397: return handlerChains;
398: }
399:
400: /**
401: * Sets the value of the handlerChains property.
402: *
403: * @param value
404: * allowed object is
405: * {@link ServiceRefHandlerChainsType }
406: *
407: */
408: public void setHandlerChains(ServiceRefHandlerChainsType value) {
409: this .handlerChains = value;
410: }
411:
412: /**
413: * Gets the value of the mappedName property.
414: *
415: * @return
416: * possible object is
417: * {@link XsdStringType }
418: *
419: */
420: public XsdStringType getMappedName() {
421: return mappedName;
422: }
423:
424: /**
425: * Sets the value of the mappedName property.
426: *
427: * @param value
428: * allowed object is
429: * {@link XsdStringType }
430: *
431: */
432: public void setMappedName(XsdStringType value) {
433: this .mappedName = value;
434: }
435:
436: /**
437: * Gets the value of the injectionTarget property.
438: *
439: * <p>
440: * This accessor method returns a reference to the live list,
441: * not a snapshot. Therefore any modification you make to the
442: * returned list will be present inside the JAXB object.
443: * This is why there is not a <CODE>set</CODE> method for the injectionTarget property.
444: *
445: * <p>
446: * For example, to add a new item, do as follows:
447: * <pre>
448: * getInjectionTarget().add(newItem);
449: * </pre>
450: *
451: *
452: * <p>
453: * Objects of the following type(s) are allowed in the list
454: * {@link InjectionTargetType }
455: *
456: *
457: */
458: public List<InjectionTargetType> getInjectionTarget() {
459: if (injectionTarget == null) {
460: injectionTarget = new ArrayList<InjectionTargetType>();
461: }
462: return this .injectionTarget;
463: }
464:
465: /**
466: * Gets the value of the id property.
467: *
468: * @return
469: * possible object is
470: * {@link java.lang.String }
471: *
472: */
473: public java.lang.String getId() {
474: return id;
475: }
476:
477: /**
478: * Sets the value of the id property.
479: *
480: * @param value
481: * allowed object is
482: * {@link java.lang.String }
483: *
484: */
485: public void setId(java.lang.String value) {
486: this.id = value;
487: }
488:
489: }
|