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: * Declares the handler for a port-component. Handlers can access the
025: * init-param name/value pairs using the HandlerInfo interface. If
026: * port-name is not specified, the handler is assumed to be associated
027: * with all ports of the service.
028: *
029: * Used in: service-ref
030: *
031: *
032: *
033: * <p>Java class for service-ref_handlerType complex type.
034: *
035: * <p>The following schema fragment specifies the expected content contained within this class.
036: *
037: * <pre>
038: * <complexType name="service-ref_handlerType">
039: * <complexContent>
040: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
041: * <sequence>
042: * <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
043: * <element name="handler-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
044: * <element name="handler-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
045: * <element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/>
046: * <element name="soap-header" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" maxOccurs="unbounded" minOccurs="0"/>
047: * <element name="soap-role" type="{http://java.sun.com/xml/ns/javaee}string" maxOccurs="unbounded" minOccurs="0"/>
048: * <element name="port-name" type="{http://java.sun.com/xml/ns/javaee}string" maxOccurs="unbounded" minOccurs="0"/>
049: * </sequence>
050: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
051: * </restriction>
052: * </complexContent>
053: * </complexType>
054: * </pre>
055: *
056: *
057: */
058: @XmlAccessorType(XmlAccessType.FIELD)
059: @XmlType(name="service-ref_handlerType",propOrder={"description","displayName","icon","handlerName","handlerClass","initParam","soapHeader","soapRole","portName"})
060: public class ServiceRefHandlerType {
061:
062: protected List<DescriptionType> description;
063: @XmlElement(name="display-name")
064: protected List<DisplayNameType> displayName;
065: protected List<IconType> icon;
066: @XmlElement(name="handler-name",required=true)
067: protected org.apache.cxf.jaxws.javaee.String handlerName;
068: @XmlElement(name="handler-class",required=true)
069: protected FullyQualifiedClassType handlerClass;
070: @XmlElement(name="init-param")
071: protected List<ParamValueType> initParam;
072: @XmlElement(name="soap-header")
073: protected List<XsdQNameType> soapHeader;
074: @XmlElement(name="soap-role")
075: protected List<org.apache.cxf.jaxws.javaee.String> soapRole;
076: @XmlElement(name="port-name")
077: protected List<org.apache.cxf.jaxws.javaee.String> portName;
078: @XmlAttribute
079: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
080: @XmlID
081: protected java.lang.String id;
082:
083: /**
084: * Gets the value of the description property.
085: *
086: * <p>
087: * This accessor method returns a reference to the live list,
088: * not a snapshot. Therefore any modification you make to the
089: * returned list will be present inside the JAXB object.
090: * This is why there is not a <CODE>set</CODE> method for the description property.
091: *
092: * <p>
093: * For example, to add a new item, do as follows:
094: * <pre>
095: * getDescription().add(newItem);
096: * </pre>
097: *
098: *
099: * <p>
100: * Objects of the following type(s) are allowed in the list
101: * {@link DescriptionType }
102: *
103: *
104: */
105: public List<DescriptionType> getDescription() {
106: if (description == null) {
107: description = new ArrayList<DescriptionType>();
108: }
109: return this .description;
110: }
111:
112: /**
113: * Gets the value of the displayName property.
114: *
115: * <p>
116: * This accessor method returns a reference to the live list,
117: * not a snapshot. Therefore any modification you make to the
118: * returned list will be present inside the JAXB object.
119: * This is why there is not a <CODE>set</CODE> method for the displayName property.
120: *
121: * <p>
122: * For example, to add a new item, do as follows:
123: * <pre>
124: * getDisplayName().add(newItem);
125: * </pre>
126: *
127: *
128: * <p>
129: * Objects of the following type(s) are allowed in the list
130: * {@link DisplayNameType }
131: *
132: *
133: */
134: public List<DisplayNameType> getDisplayName() {
135: if (displayName == null) {
136: displayName = new ArrayList<DisplayNameType>();
137: }
138: return this .displayName;
139: }
140:
141: /**
142: * Gets the value of the icon property.
143: *
144: * <p>
145: * This accessor method returns a reference to the live list,
146: * not a snapshot. Therefore any modification you make to the
147: * returned list will be present inside the JAXB object.
148: * This is why there is not a <CODE>set</CODE> method for the icon property.
149: *
150: * <p>
151: * For example, to add a new item, do as follows:
152: * <pre>
153: * getIcon().add(newItem);
154: * </pre>
155: *
156: *
157: * <p>
158: * Objects of the following type(s) are allowed in the list
159: * {@link IconType }
160: *
161: *
162: */
163: public List<IconType> getIcon() {
164: if (icon == null) {
165: icon = new ArrayList<IconType>();
166: }
167: return this .icon;
168: }
169:
170: /**
171: * Gets the value of the handlerName property.
172: *
173: * @return
174: * possible object is
175: * {@link org.apache.cxf.jaxws.javaee.String }
176: *
177: */
178: public org.apache.cxf.jaxws.javaee.String getHandlerName() {
179: return handlerName;
180: }
181:
182: /**
183: * Sets the value of the handlerName property.
184: *
185: * @param value
186: * allowed object is
187: * {@link org.apache.cxf.jaxws.javaee.String }
188: *
189: */
190: public void setHandlerName(org.apache.cxf.jaxws.javaee.String value) {
191: this .handlerName = value;
192: }
193:
194: /**
195: * Gets the value of the handlerClass property.
196: *
197: * @return
198: * possible object is
199: * {@link FullyQualifiedClassType }
200: *
201: */
202: public FullyQualifiedClassType getHandlerClass() {
203: return handlerClass;
204: }
205:
206: /**
207: * Sets the value of the handlerClass property.
208: *
209: * @param value
210: * allowed object is
211: * {@link FullyQualifiedClassType }
212: *
213: */
214: public void setHandlerClass(FullyQualifiedClassType value) {
215: this .handlerClass = value;
216: }
217:
218: /**
219: * Gets the value of the initParam property.
220: *
221: * <p>
222: * This accessor method returns a reference to the live list,
223: * not a snapshot. Therefore any modification you make to the
224: * returned list will be present inside the JAXB object.
225: * This is why there is not a <CODE>set</CODE> method for the initParam property.
226: *
227: * <p>
228: * For example, to add a new item, do as follows:
229: * <pre>
230: * getInitParam().add(newItem);
231: * </pre>
232: *
233: *
234: * <p>
235: * Objects of the following type(s) are allowed in the list
236: * {@link ParamValueType }
237: *
238: *
239: */
240: public List<ParamValueType> getInitParam() {
241: if (initParam == null) {
242: initParam = new ArrayList<ParamValueType>();
243: }
244: return this .initParam;
245: }
246:
247: /**
248: * Gets the value of the soapHeader property.
249: *
250: * <p>
251: * This accessor method returns a reference to the live list,
252: * not a snapshot. Therefore any modification you make to the
253: * returned list will be present inside the JAXB object.
254: * This is why there is not a <CODE>set</CODE> method for the soapHeader property.
255: *
256: * <p>
257: * For example, to add a new item, do as follows:
258: * <pre>
259: * getSoapHeader().add(newItem);
260: * </pre>
261: *
262: *
263: * <p>
264: * Objects of the following type(s) are allowed in the list
265: * {@link XsdQNameType }
266: *
267: *
268: */
269: public List<XsdQNameType> getSoapHeader() {
270: if (soapHeader == null) {
271: soapHeader = new ArrayList<XsdQNameType>();
272: }
273: return this .soapHeader;
274: }
275:
276: /**
277: * Gets the value of the soapRole property.
278: *
279: * <p>
280: * This accessor method returns a reference to the live list,
281: * not a snapshot. Therefore any modification you make to the
282: * returned list will be present inside the JAXB object.
283: * This is why there is not a <CODE>set</CODE> method for the soapRole property.
284: *
285: * <p>
286: * For example, to add a new item, do as follows:
287: * <pre>
288: * getSoapRole().add(newItem);
289: * </pre>
290: *
291: *
292: * <p>
293: * Objects of the following type(s) are allowed in the list
294: * {@link org.apache.cxf.jaxws.javaee.String }
295: *
296: *
297: */
298: public List<org.apache.cxf.jaxws.javaee.String> getSoapRole() {
299: if (soapRole == null) {
300: soapRole = new ArrayList<org.apache.cxf.jaxws.javaee.String>();
301: }
302: return this .soapRole;
303: }
304:
305: /**
306: * Gets the value of the portName property.
307: *
308: * <p>
309: * This accessor method returns a reference to the live list,
310: * not a snapshot. Therefore any modification you make to the
311: * returned list will be present inside the JAXB object.
312: * This is why there is not a <CODE>set</CODE> method for the portName property.
313: *
314: * <p>
315: * For example, to add a new item, do as follows:
316: * <pre>
317: * getPortName().add(newItem);
318: * </pre>
319: *
320: *
321: * <p>
322: * Objects of the following type(s) are allowed in the list
323: * {@link org.apache.cxf.jaxws.javaee.String }
324: *
325: *
326: */
327: public List<org.apache.cxf.jaxws.javaee.String> getPortName() {
328: if (portName == null) {
329: portName = new ArrayList<org.apache.cxf.jaxws.javaee.String>();
330: }
331: return this .portName;
332: }
333:
334: /**
335: * Gets the value of the id property.
336: *
337: * @return
338: * possible object is
339: * {@link java.lang.String }
340: *
341: */
342: public java.lang.String getId() {
343: return id;
344: }
345:
346: /**
347: * Sets the value of the id property.
348: *
349: * @param value
350: * allowed object is
351: * {@link java.lang.String }
352: *
353: */
354: public void setId(java.lang.String value) {
355: this.id = value;
356: }
357:
358: }
|