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.XmlRootElement;
019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022: /**
023: * <p>Java class for webservicesType complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType name="webservicesType">
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
033: * <element name="webservice-description" type="{http://java.sun.com/xml/ns/javaee}webservice-descriptionType" maxOccurs="unbounded"/>
034: * </sequence>
035: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
036: * <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="1.2" />
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlRootElement(name="webservices",namespace="http://java.sun.com/xml/ns/javaee")
045: @XmlAccessorType(XmlAccessType.FIELD)
046: @XmlType(name="webservicesType",propOrder={"description","displayName","icon","webserviceDescription"})
047: public class WebservicesType {
048:
049: protected List<DescriptionType> description;
050: @XmlElement(name="display-name")
051: protected List<DisplayNameType> displayName;
052: protected List<IconType> icon;
053: @XmlElement(name="webservice-description",required=true)
054: protected List<WebserviceDescriptionType> webserviceDescription;
055: @XmlAttribute
056: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
057: @XmlID
058: protected java.lang.String id;
059: @XmlAttribute(required=true)
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: protected java.lang.String version;
062:
063: /**
064: * Gets the value of the description property.
065: *
066: * <p>
067: * This accessor method returns a reference to the live list,
068: * not a snapshot. Therefore any modification you make to the
069: * returned list will be present inside the JAXB object.
070: * This is why there is not a <CODE>set</CODE> method for the description property.
071: *
072: * <p>
073: * For example, to add a new item, do as follows:
074: * <pre>
075: * getDescription().add(newItem);
076: * </pre>
077: *
078: *
079: * <p>
080: * Objects of the following type(s) are allowed in the list
081: * {@link DescriptionType }
082: *
083: *
084: */
085: public List<DescriptionType> getDescription() {
086: if (description == null) {
087: description = new ArrayList<DescriptionType>();
088: }
089: return this .description;
090: }
091:
092: /**
093: * Gets the value of the displayName property.
094: *
095: * <p>
096: * This accessor method returns a reference to the live list,
097: * not a snapshot. Therefore any modification you make to the
098: * returned list will be present inside the JAXB object.
099: * This is why there is not a <CODE>set</CODE> method for the displayName property.
100: *
101: * <p>
102: * For example, to add a new item, do as follows:
103: * <pre>
104: * getDisplayName().add(newItem);
105: * </pre>
106: *
107: *
108: * <p>
109: * Objects of the following type(s) are allowed in the list
110: * {@link DisplayNameType }
111: *
112: *
113: */
114: public List<DisplayNameType> getDisplayName() {
115: if (displayName == null) {
116: displayName = new ArrayList<DisplayNameType>();
117: }
118: return this .displayName;
119: }
120:
121: /**
122: * Gets the value of the icon property.
123: *
124: * <p>
125: * This accessor method returns a reference to the live list,
126: * not a snapshot. Therefore any modification you make to the
127: * returned list will be present inside the JAXB object.
128: * This is why there is not a <CODE>set</CODE> method for the icon property.
129: *
130: * <p>
131: * For example, to add a new item, do as follows:
132: * <pre>
133: * getIcon().add(newItem);
134: * </pre>
135: *
136: *
137: * <p>
138: * Objects of the following type(s) are allowed in the list
139: * {@link IconType }
140: *
141: *
142: */
143: public List<IconType> getIcon() {
144: if (icon == null) {
145: icon = new ArrayList<IconType>();
146: }
147: return this .icon;
148: }
149:
150: /**
151: * Gets the value of the webserviceDescription property.
152: *
153: * <p>
154: * This accessor method returns a reference to the live list,
155: * not a snapshot. Therefore any modification you make to the
156: * returned list will be present inside the JAXB object.
157: * This is why there is not a <CODE>set</CODE> method for the webserviceDescription property.
158: *
159: * <p>
160: * For example, to add a new item, do as follows:
161: * <pre>
162: * getWebserviceDescription().add(newItem);
163: * </pre>
164: *
165: *
166: * <p>
167: * Objects of the following type(s) are allowed in the list
168: * {@link WebserviceDescriptionType }
169: *
170: *
171: */
172: public List<WebserviceDescriptionType> getWebserviceDescription() {
173: if (webserviceDescription == null) {
174: webserviceDescription = new ArrayList<WebserviceDescriptionType>();
175: }
176: return this .webserviceDescription;
177: }
178:
179: /**
180: * Gets the value of the id property.
181: *
182: * @return
183: * possible object is
184: * {@link java.lang.String }
185: *
186: */
187: public java.lang.String getId() {
188: return id;
189: }
190:
191: /**
192: * Sets the value of the id property.
193: *
194: * @param value
195: * allowed object is
196: * {@link java.lang.String }
197: *
198: */
199: public void setId(java.lang.String value) {
200: this .id = value;
201: }
202:
203: /**
204: * Gets the value of the version property.
205: *
206: * @return
207: * possible object is
208: * {@link java.lang.String }
209: *
210: */
211: public java.lang.String getVersion() {
212: if (version == null) {
213: return "1.2";
214: } else {
215: return version;
216: }
217: }
218:
219: /**
220: * Sets the value of the version property.
221: *
222: * @param value
223: * allowed object is
224: * {@link java.lang.String }
225: *
226: */
227: public void setVersion(java.lang.String value) {
228: this.version = value;
229: }
230:
231: }
|