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 webservice-description element defines a WSDL document file
025: * and the set of Port components associated with the WSDL ports
026: * defined in the WSDL document. There may be multiple
027: * webservice-descriptions defined within a module.
028: *
029: * All WSDL file ports must have a corresponding port-component element
030: * defined.
031: *
032: * Used in: webservices
033: *
034: *
035: *
036: * <p>Java class for webservice-descriptionType complex type.
037: *
038: * <p>The following schema fragment specifies the expected content contained within this class.
039: *
040: * <pre>
041: * <complexType name="webservice-descriptionType">
042: * <complexContent>
043: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
044: * <sequence>
045: * <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/>
046: * <element name="display-name" type="{http://java.sun.com/xml/ns/javaee}display-nameType" minOccurs="0"/>
047: * <element name="icon" type="{http://java.sun.com/xml/ns/javaee}iconType" minOccurs="0"/>
048: * <element name="webservice-description-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
049: * <element name="wsdl-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
050: * <element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
051: * <element name="port-component" type="{http://java.sun.com/xml/ns/javaee}port-componentType" maxOccurs="unbounded"/>
052: * </sequence>
053: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
054: * </restriction>
055: * </complexContent>
056: * </complexType>
057: * </pre>
058: *
059: *
060: */
061: @XmlAccessorType(XmlAccessType.FIELD)
062: @XmlType(name="webservice-descriptionType",propOrder={"description","displayName","icon","webserviceDescriptionName","wsdlFile","jaxrpcMappingFile","portComponent"})
063: public class WebserviceDescriptionType {
064:
065: protected DescriptionType description;
066: @XmlElement(name="display-name")
067: protected DisplayNameType displayName;
068: protected IconType icon;
069: @XmlElement(name="webservice-description-name",required=true)
070: protected org.apache.cxf.jaxws.javaee.String webserviceDescriptionName;
071: @XmlElement(name="wsdl-file")
072: protected PathType wsdlFile;
073: @XmlElement(name="jaxrpc-mapping-file")
074: protected PathType jaxrpcMappingFile;
075: @XmlElement(name="port-component",required=true)
076: protected List<PortComponentType> portComponent;
077: @XmlAttribute
078: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
079: @XmlID
080: protected java.lang.String id;
081:
082: /**
083: * Gets the value of the description property.
084: *
085: * @return
086: * possible object is
087: * {@link DescriptionType }
088: *
089: */
090: public DescriptionType getDescription() {
091: return description;
092: }
093:
094: /**
095: * Sets the value of the description property.
096: *
097: * @param value
098: * allowed object is
099: * {@link DescriptionType }
100: *
101: */
102: public void setDescription(DescriptionType value) {
103: this .description = value;
104: }
105:
106: /**
107: * Gets the value of the displayName property.
108: *
109: * @return
110: * possible object is
111: * {@link DisplayNameType }
112: *
113: */
114: public DisplayNameType getDisplayName() {
115: return displayName;
116: }
117:
118: /**
119: * Sets the value of the displayName property.
120: *
121: * @param value
122: * allowed object is
123: * {@link DisplayNameType }
124: *
125: */
126: public void setDisplayName(DisplayNameType value) {
127: this .displayName = value;
128: }
129:
130: /**
131: * Gets the value of the icon property.
132: *
133: * @return
134: * possible object is
135: * {@link IconType }
136: *
137: */
138: public IconType getIcon() {
139: return icon;
140: }
141:
142: /**
143: * Sets the value of the icon property.
144: *
145: * @param value
146: * allowed object is
147: * {@link IconType }
148: *
149: */
150: public void setIcon(IconType value) {
151: this .icon = value;
152: }
153:
154: /**
155: * Gets the value of the webserviceDescriptionName property.
156: *
157: * @return
158: * possible object is
159: * {@link org.apache.cxf.jaxws.javaee.String }
160: *
161: */
162: public org.apache.cxf.jaxws.javaee.String getWebserviceDescriptionName() {
163: return webserviceDescriptionName;
164: }
165:
166: /**
167: * Sets the value of the webserviceDescriptionName property.
168: *
169: * @param value
170: * allowed object is
171: * {@link org.apache.cxf.jaxws.javaee.String }
172: *
173: */
174: public void setWebserviceDescriptionName(
175: org.apache.cxf.jaxws.javaee.String value) {
176: this .webserviceDescriptionName = value;
177: }
178:
179: /**
180: * Gets the value of the wsdlFile property.
181: *
182: * @return
183: * possible object is
184: * {@link PathType }
185: *
186: */
187: public PathType getWsdlFile() {
188: return wsdlFile;
189: }
190:
191: /**
192: * Sets the value of the wsdlFile property.
193: *
194: * @param value
195: * allowed object is
196: * {@link PathType }
197: *
198: */
199: public void setWsdlFile(PathType value) {
200: this .wsdlFile = value;
201: }
202:
203: /**
204: * Gets the value of the jaxrpcMappingFile property.
205: *
206: * @return
207: * possible object is
208: * {@link PathType }
209: *
210: */
211: public PathType getJaxrpcMappingFile() {
212: return jaxrpcMappingFile;
213: }
214:
215: /**
216: * Sets the value of the jaxrpcMappingFile property.
217: *
218: * @param value
219: * allowed object is
220: * {@link PathType }
221: *
222: */
223: public void setJaxrpcMappingFile(PathType value) {
224: this .jaxrpcMappingFile = value;
225: }
226:
227: /**
228: * Gets the value of the portComponent property.
229: *
230: * <p>
231: * This accessor method returns a reference to the live list,
232: * not a snapshot. Therefore any modification you make to the
233: * returned list will be present inside the JAXB object.
234: * This is why there is not a <CODE>set</CODE> method for the portComponent property.
235: *
236: * <p>
237: * For example, to add a new item, do as follows:
238: * <pre>
239: * getPortComponent().add(newItem);
240: * </pre>
241: *
242: *
243: * <p>
244: * Objects of the following type(s) are allowed in the list
245: * {@link PortComponentType }
246: *
247: *
248: */
249: public List<PortComponentType> getPortComponent() {
250: if (portComponent == null) {
251: portComponent = new ArrayList<PortComponentType>();
252: }
253: return this .portComponent;
254: }
255:
256: /**
257: * Gets the value of the id property.
258: *
259: * @return
260: * possible object is
261: * {@link java.lang.String }
262: *
263: */
264: public java.lang.String getId() {
265: return id;
266: }
267:
268: /**
269: * Sets the value of the id property.
270: *
271: * @param value
272: * allowed object is
273: * {@link java.lang.String }
274: *
275: */
276: public void setId(java.lang.String value) {
277: this.id = value;
278: }
279:
280: }
|