001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
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: 2007.03.17 at 08:38:02 AM PDT
006: //
007:
008: package org.collada.colladaschema;
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.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022: /**
023: * <p>Java class for anonymous complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType>
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
033: * <choice minOccurs="0">
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}IDREF_array"/>
035: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}Name_array"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}bool_array"/>
037: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}float_array"/>
038: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}int_array"/>
039: * </choice>
040: * <element name="technique_common" minOccurs="0">
041: * <complexType>
042: * <complexContent>
043: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
044: * <sequence>
045: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}accessor"/>
046: * </sequence>
047: * </restriction>
048: * </complexContent>
049: * </complexType>
050: * </element>
051: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
052: * </sequence>
053: * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
054: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </pre>
059: *
060: *
061: */
062: @XmlAccessorType(XmlAccessType.FIELD)
063: @XmlType(name="",propOrder={"asset","boolArray","floatArray","nameArray","intArray","idrefArray","techniqueCommon","techniques"})
064: @XmlRootElement(name="source")
065: public class Source {
066:
067: protected Asset asset;
068: @XmlElement(name="bool_array")
069: protected BoolArray boolArray;
070: @XmlElement(name="float_array")
071: protected FloatArray floatArray;
072: @XmlElement(name="Name_array")
073: protected NameArray nameArray;
074: @XmlElement(name="int_array")
075: protected IntArray intArray;
076: @XmlElement(name="IDREF_array")
077: protected IDREFArray idrefArray;
078: @XmlElement(name="technique_common")
079: protected Source.TechniqueCommon techniqueCommon;
080: @XmlElement(name="technique")
081: protected List<Technique> techniques;
082: @XmlAttribute(required=true)
083: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
084: @XmlID
085: protected String id;
086: @XmlAttribute
087: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
088: protected String name;
089:
090: /**
091: *
092: * The source element may contain an asset element.
093: *
094: *
095: * @return
096: * possible object is
097: * {@link Asset }
098: *
099: */
100: public Asset getAsset() {
101: return asset;
102: }
103:
104: /**
105: *
106: * The source element may contain an asset element.
107: *
108: *
109: * @param value
110: * allowed object is
111: * {@link Asset }
112: *
113: */
114: public void setAsset(Asset value) {
115: this .asset = value;
116: }
117:
118: /**
119: *
120: * The source element may contain a bool_array.
121: *
122: *
123: * @return
124: * possible object is
125: * {@link BoolArray }
126: *
127: */
128: public BoolArray getBoolArray() {
129: return boolArray;
130: }
131:
132: /**
133: *
134: * The source element may contain a bool_array.
135: *
136: *
137: * @param value
138: * allowed object is
139: * {@link BoolArray }
140: *
141: */
142: public void setBoolArray(BoolArray value) {
143: this .boolArray = value;
144: }
145:
146: /**
147: *
148: * The source element may contain a float_array.
149: *
150: *
151: * @return
152: * possible object is
153: * {@link FloatArray }
154: *
155: */
156: public FloatArray getFloatArray() {
157: return floatArray;
158: }
159:
160: /**
161: *
162: * The source element may contain a float_array.
163: *
164: *
165: * @param value
166: * allowed object is
167: * {@link FloatArray }
168: *
169: */
170: public void setFloatArray(FloatArray value) {
171: this .floatArray = value;
172: }
173:
174: /**
175: *
176: * The source element may contain a Name_array.
177: *
178: *
179: * @return
180: * possible object is
181: * {@link NameArray }
182: *
183: */
184: public NameArray getNameArray() {
185: return nameArray;
186: }
187:
188: /**
189: *
190: * The source element may contain a Name_array.
191: *
192: *
193: * @param value
194: * allowed object is
195: * {@link NameArray }
196: *
197: */
198: public void setNameArray(NameArray value) {
199: this .nameArray = value;
200: }
201:
202: /**
203: *
204: * The source element may contain an int_array.
205: *
206: *
207: * @return
208: * possible object is
209: * {@link IntArray }
210: *
211: */
212: public IntArray getIntArray() {
213: return intArray;
214: }
215:
216: /**
217: *
218: * The source element may contain an int_array.
219: *
220: *
221: * @param value
222: * allowed object is
223: * {@link IntArray }
224: *
225: */
226: public void setIntArray(IntArray value) {
227: this .intArray = value;
228: }
229:
230: /**
231: *
232: * The source element may contain an IDREF_array.
233: *
234: *
235: * @return
236: * possible object is
237: * {@link IDREFArray }
238: *
239: */
240: public IDREFArray getIDREFArray() {
241: return idrefArray;
242: }
243:
244: /**
245: *
246: * The source element may contain an IDREF_array.
247: *
248: *
249: * @param value
250: * allowed object is
251: * {@link IDREFArray }
252: *
253: */
254: public void setIDREFArray(IDREFArray value) {
255: this .idrefArray = value;
256: }
257:
258: /**
259: * Gets the value of the techniqueCommon property.
260: *
261: * @return
262: * possible object is
263: * {@link Source.TechniqueCommon }
264: *
265: */
266: public Source.TechniqueCommon getTechniqueCommon() {
267: return techniqueCommon;
268: }
269:
270: /**
271: * Sets the value of the techniqueCommon property.
272: *
273: * @param value
274: * allowed object is
275: * {@link Source.TechniqueCommon }
276: *
277: */
278: public void setTechniqueCommon(Source.TechniqueCommon value) {
279: this .techniqueCommon = value;
280: }
281:
282: /**
283: *
284: * This element may contain any number of non-common profile techniques.
285: * Gets the value of the techniques property.
286: *
287: * <p>
288: * This accessor method returns a reference to the live list,
289: * not a snapshot. Therefore any modification you make to the
290: * returned list will be present inside the JAXB object.
291: * This is why there is not a <CODE>set</CODE> method for the techniques property.
292: *
293: * <p>
294: * For example, to add a new item, do as follows:
295: * <pre>
296: * getTechniques().add(newItem);
297: * </pre>
298: *
299: *
300: * <p>
301: * Objects of the following type(s) are allowed in the list
302: * {@link Technique }
303: *
304: *
305: */
306: public List<Technique> getTechniques() {
307: if (techniques == null) {
308: techniques = new ArrayList<Technique>();
309: }
310: return this .techniques;
311: }
312:
313: /**
314: * Gets the value of the id property.
315: *
316: * @return
317: * possible object is
318: * {@link String }
319: *
320: */
321: public String getId() {
322: return id;
323: }
324:
325: /**
326: * Sets the value of the id property.
327: *
328: * @param value
329: * allowed object is
330: * {@link String }
331: *
332: */
333: public void setId(String value) {
334: this .id = value;
335: }
336:
337: /**
338: * Gets the value of the name property.
339: *
340: * @return
341: * possible object is
342: * {@link String }
343: *
344: */
345: public String getName() {
346: return name;
347: }
348:
349: /**
350: * Sets the value of the name property.
351: *
352: * @param value
353: * allowed object is
354: * {@link String }
355: *
356: */
357: public void setName(String value) {
358: this .name = value;
359: }
360:
361: /**
362: * <p>Java class for anonymous complex type.
363: *
364: * <p>The following schema fragment specifies the expected content contained within this class.
365: *
366: * <pre>
367: * <complexType>
368: * <complexContent>
369: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
370: * <sequence>
371: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}accessor"/>
372: * </sequence>
373: * </restriction>
374: * </complexContent>
375: * </complexType>
376: * </pre>
377: *
378: *
379: */
380: @XmlAccessorType(XmlAccessType.FIELD)
381: @XmlType(name="",propOrder={"accessor"})
382: public static class TechniqueCommon {
383:
384: @XmlElement(required=true)
385: protected Accessor accessor;
386:
387: /**
388: *
389: * The source's technique_common must have one and only one accessor.
390: *
391: *
392: * @return
393: * possible object is
394: * {@link Accessor }
395: *
396: */
397: public Accessor getAccessor() {
398: return accessor;
399: }
400:
401: /**
402: *
403: * The source's technique_common must have one and only one accessor.
404: *
405: *
406: * @param value
407: * allowed object is
408: * {@link Accessor }
409: *
410: */
411: public void setAccessor(Accessor value) {
412: this.accessor = value;
413: }
414:
415: }
416:
417: }
|