001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: //
043: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
044: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
045: // Any modifications to this file will be lost upon recompilation of the source schema.
046: // Generated on: 2006.12.09 at 06:26:06 PM PST
047: //
048:
049: package org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11;
050:
051: import java.util.ArrayList;
052: import java.util.List;
053: import javax.xml.bind.annotation.XmlAccessType;
054: import javax.xml.bind.annotation.XmlAccessorType;
055: import javax.xml.bind.annotation.XmlAttribute;
056: import javax.xml.bind.annotation.XmlElement;
057: import javax.xml.bind.annotation.XmlID;
058: import javax.xml.bind.annotation.XmlType;
059: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
060: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
061:
062: /**
063: *
064: *
065: * The java-xml-type-mapping element contains a java-type that is the
066: * fully qualified name of the Java class, primitive type, or array
067: * type, QName of the XML root type or anonymous type, the WSDL type
068: * scope the QName applies to and the set of variable mappings for
069: * each public variable within the Java class.
070: *
071: * Used in: java-wsdl-mapping
072: *
073: *
074: *
075: * <p>Java class for java-xml-type-mappingType complex type.
076: *
077: * <p>The following schema fragment specifies the expected content contained within this class.
078: *
079: * <pre>
080: * <complexType name="java-xml-type-mappingType">
081: * <complexContent>
082: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
083: * <sequence>
084: * <element name="java-type" type="{http://java.sun.com/xml/ns/j2ee}java-typeType"/>
085: * <choice>
086: * <element name="root-type-qname" type="{http://java.sun.com/xml/ns/j2ee}xsdQNameType"/>
087: * <element name="anonymous-type-qname" type="{http://java.sun.com/xml/ns/j2ee}string"/>
088: * </choice>
089: * <element name="qname-scope" type="{http://java.sun.com/xml/ns/j2ee}qname-scopeType"/>
090: * <element name="variable-mapping" type="{http://java.sun.com/xml/ns/j2ee}variable-mappingType" maxOccurs="unbounded" minOccurs="0"/>
091: * </sequence>
092: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
093: * </restriction>
094: * </complexContent>
095: * </complexType>
096: * </pre>
097: *
098: *
099: */
100: @XmlAccessorType(XmlAccessType.FIELD)
101: @XmlType(name="java-xml-type-mappingType",propOrder={"javaType","rootTypeQname","anonymousTypeQname","qnameScope","variableMapping"})
102: public class JavaXmlTypeMappingType {
103:
104: @XmlElement(name="java-type",required=true)
105: protected JavaTypeType javaType;
106: @XmlElement(name="root-type-qname")
107: protected XsdQNameType rootTypeQname;
108: @XmlElement(name="anonymous-type-qname")
109: protected org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11.String anonymousTypeQname;
110: @XmlElement(name="qname-scope",required=true)
111: protected QnameScopeType qnameScope;
112: @XmlElement(name="variable-mapping")
113: protected List<VariableMappingType> variableMapping;
114: @XmlAttribute
115: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
116: @XmlID
117: protected java.lang.String id;
118:
119: /**
120: * Gets the value of the javaType property.
121: *
122: * @return
123: * possible object is
124: * {@link JavaTypeType }
125: *
126: */
127: public JavaTypeType getJavaType() {
128: return javaType;
129: }
130:
131: /**
132: * Sets the value of the javaType property.
133: *
134: * @param value
135: * allowed object is
136: * {@link JavaTypeType }
137: *
138: */
139: public void setJavaType(JavaTypeType value) {
140: this .javaType = value;
141: }
142:
143: /**
144: * Gets the value of the rootTypeQname property.
145: *
146: * @return
147: * possible object is
148: * {@link XsdQNameType }
149: *
150: */
151: public XsdQNameType getRootTypeQname() {
152: return rootTypeQname;
153: }
154:
155: /**
156: * Sets the value of the rootTypeQname property.
157: *
158: * @param value
159: * allowed object is
160: * {@link XsdQNameType }
161: *
162: */
163: public void setRootTypeQname(XsdQNameType value) {
164: this .rootTypeQname = value;
165: }
166:
167: /**
168: * Gets the value of the anonymousTypeQname property.
169: *
170: * @return
171: * possible object is
172: * {@link org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11.String }
173: *
174: */
175: public org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11.String getAnonymousTypeQname() {
176: return anonymousTypeQname;
177: }
178:
179: /**
180: * Sets the value of the anonymousTypeQname property.
181: *
182: * @param value
183: * allowed object is
184: * {@link org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11.String }
185: *
186: */
187: public void setAnonymousTypeQname(
188: org.netbeans.modules.compapp.javaee.sunresources.generated.jaxrpcmapping11.String value) {
189: this .anonymousTypeQname = value;
190: }
191:
192: /**
193: * Gets the value of the qnameScope property.
194: *
195: * @return
196: * possible object is
197: * {@link QnameScopeType }
198: *
199: */
200: public QnameScopeType getQnameScope() {
201: return qnameScope;
202: }
203:
204: /**
205: * Sets the value of the qnameScope property.
206: *
207: * @param value
208: * allowed object is
209: * {@link QnameScopeType }
210: *
211: */
212: public void setQnameScope(QnameScopeType value) {
213: this .qnameScope = value;
214: }
215:
216: /**
217: * Gets the value of the variableMapping property.
218: *
219: * <p>
220: * This accessor method returns a reference to the live list,
221: * not a snapshot. Therefore any modification you make to the
222: * returned list will be present inside the JAXB object.
223: * This is why there is not a <CODE>set</CODE> method for the variableMapping property.
224: *
225: * <p>
226: * For example, to add a new item, do as follows:
227: * <pre>
228: * getVariableMapping().add(newItem);
229: * </pre>
230: *
231: *
232: * <p>
233: * Objects of the following type(s) are allowed in the list
234: * {@link VariableMappingType }
235: *
236: *
237: */
238: public List<VariableMappingType> getVariableMapping() {
239: if (variableMapping == null) {
240: variableMapping = new ArrayList<VariableMappingType>();
241: }
242: return this .variableMapping;
243: }
244:
245: /**
246: * Gets the value of the id property.
247: *
248: * @return
249: * possible object is
250: * {@link java.lang.String }
251: *
252: */
253: public java.lang.String getId() {
254: return id;
255: }
256:
257: /**
258: * Sets the value of the id property.
259: *
260: * @param value
261: * allowed object is
262: * {@link java.lang.String }
263: *
264: */
265: public void setId(java.lang.String value) {
266: this.id = value;
267: }
268:
269: }
|