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.math.BigInteger;
011: import java.util.ArrayList;
012: import java.util.List;
013: import javax.xml.bind.annotation.XmlAccessType;
014: import javax.xml.bind.annotation.XmlAccessorType;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlElement;
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 name="bind" maxOccurs="unbounded" minOccurs="0">
033: * <complexType>
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <attribute name="semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </element>
042: * <element name="bind_vertex_input" maxOccurs="unbounded" minOccurs="0">
043: * <complexType>
044: * <complexContent>
045: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
046: * <attribute name="input_semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
047: * <attribute name="input_set" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
048: * <attribute name="semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
049: * </restriction>
050: * </complexContent>
051: * </complexType>
052: * </element>
053: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
054: * </sequence>
055: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
056: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
057: * <attribute name="symbol" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
058: * <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
059: * </restriction>
060: * </complexContent>
061: * </complexType>
062: * </pre>
063: *
064: *
065: */
066: @XmlAccessorType(XmlAccessType.FIELD)
067: @XmlType(name="",propOrder={"binds","bindVertexInputs","extras"})
068: @XmlRootElement(name="instance_material")
069: public class InstanceMaterial {
070:
071: @XmlElement(name="bind")
072: protected List<InstanceMaterial.Bind> binds;
073: @XmlElement(name="bind_vertex_input")
074: protected List<InstanceMaterial.BindVertexInput> bindVertexInputs;
075: @XmlElement(name="extra")
076: protected List<Extra> extras;
077: @XmlAttribute
078: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
079: protected String name;
080: @XmlAttribute
081: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
082: protected String sid;
083: @XmlAttribute(required=true)
084: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
085: protected String symbol;
086: @XmlAttribute(required=true)
087: protected String target;
088:
089: /**
090: * Gets the value of the binds property.
091: *
092: * <p>
093: * This accessor method returns a reference to the live list,
094: * not a snapshot. Therefore any modification you make to the
095: * returned list will be present inside the JAXB object.
096: * This is why there is not a <CODE>set</CODE> method for the binds property.
097: *
098: * <p>
099: * For example, to add a new item, do as follows:
100: * <pre>
101: * getBinds().add(newItem);
102: * </pre>
103: *
104: *
105: * <p>
106: * Objects of the following type(s) are allowed in the list
107: * {@link InstanceMaterial.Bind }
108: *
109: *
110: */
111: public List<InstanceMaterial.Bind> getBinds() {
112: if (binds == null) {
113: binds = new ArrayList<InstanceMaterial.Bind>();
114: }
115: return this .binds;
116: }
117:
118: /**
119: * Gets the value of the bindVertexInputs property.
120: *
121: * <p>
122: * This accessor method returns a reference to the live list,
123: * not a snapshot. Therefore any modification you make to the
124: * returned list will be present inside the JAXB object.
125: * This is why there is not a <CODE>set</CODE> method for the bindVertexInputs property.
126: *
127: * <p>
128: * For example, to add a new item, do as follows:
129: * <pre>
130: * getBindVertexInputs().add(newItem);
131: * </pre>
132: *
133: *
134: * <p>
135: * Objects of the following type(s) are allowed in the list
136: * {@link InstanceMaterial.BindVertexInput }
137: *
138: *
139: */
140: public List<InstanceMaterial.BindVertexInput> getBindVertexInputs() {
141: if (bindVertexInputs == null) {
142: bindVertexInputs = new ArrayList<InstanceMaterial.BindVertexInput>();
143: }
144: return this .bindVertexInputs;
145: }
146:
147: /**
148: *
149: * The extra element may appear any number of times.
150: * Gets the value of the extras property.
151: *
152: * <p>
153: * This accessor method returns a reference to the live list,
154: * not a snapshot. Therefore any modification you make to the
155: * returned list will be present inside the JAXB object.
156: * This is why there is not a <CODE>set</CODE> method for the extras property.
157: *
158: * <p>
159: * For example, to add a new item, do as follows:
160: * <pre>
161: * getExtras().add(newItem);
162: * </pre>
163: *
164: *
165: * <p>
166: * Objects of the following type(s) are allowed in the list
167: * {@link Extra }
168: *
169: *
170: */
171: public List<Extra> getExtras() {
172: if (extras == null) {
173: extras = new ArrayList<Extra>();
174: }
175: return this .extras;
176: }
177:
178: /**
179: * Gets the value of the name property.
180: *
181: * @return
182: * possible object is
183: * {@link String }
184: *
185: */
186: public String getName() {
187: return name;
188: }
189:
190: /**
191: * Sets the value of the name property.
192: *
193: * @param value
194: * allowed object is
195: * {@link String }
196: *
197: */
198: public void setName(String value) {
199: this .name = value;
200: }
201:
202: /**
203: * Gets the value of the sid property.
204: *
205: * @return
206: * possible object is
207: * {@link String }
208: *
209: */
210: public String getSid() {
211: return sid;
212: }
213:
214: /**
215: * Sets the value of the sid property.
216: *
217: * @param value
218: * allowed object is
219: * {@link String }
220: *
221: */
222: public void setSid(String value) {
223: this .sid = value;
224: }
225:
226: /**
227: * Gets the value of the symbol property.
228: *
229: * @return
230: * possible object is
231: * {@link String }
232: *
233: */
234: public String getSymbol() {
235: return symbol;
236: }
237:
238: /**
239: * Sets the value of the symbol property.
240: *
241: * @param value
242: * allowed object is
243: * {@link String }
244: *
245: */
246: public void setSymbol(String value) {
247: this .symbol = value;
248: }
249:
250: /**
251: * Gets the value of the target property.
252: *
253: * @return
254: * possible object is
255: * {@link String }
256: *
257: */
258: public String getTarget() {
259: return target;
260: }
261:
262: /**
263: * Sets the value of the target property.
264: *
265: * @param value
266: * allowed object is
267: * {@link String }
268: *
269: */
270: public void setTarget(String value) {
271: this .target = value;
272: }
273:
274: /**
275: * <p>Java class for anonymous complex type.
276: *
277: * <p>The following schema fragment specifies the expected content contained within this class.
278: *
279: * <pre>
280: * <complexType>
281: * <complexContent>
282: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
283: * <attribute name="semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
284: * <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
285: * </restriction>
286: * </complexContent>
287: * </complexType>
288: * </pre>
289: *
290: *
291: */
292: @XmlAccessorType(XmlAccessType.FIELD)
293: @XmlType(name="")
294: public static class Bind {
295:
296: @XmlAttribute(required=true)
297: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
298: protected String semantic;
299: @XmlAttribute(required=true)
300: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
301: protected String target;
302:
303: /**
304: * Gets the value of the semantic property.
305: *
306: * @return
307: * possible object is
308: * {@link String }
309: *
310: */
311: public String getSemantic() {
312: return semantic;
313: }
314:
315: /**
316: * Sets the value of the semantic property.
317: *
318: * @param value
319: * allowed object is
320: * {@link String }
321: *
322: */
323: public void setSemantic(String value) {
324: this .semantic = value;
325: }
326:
327: /**
328: * Gets the value of the target property.
329: *
330: * @return
331: * possible object is
332: * {@link String }
333: *
334: */
335: public String getTarget() {
336: return target;
337: }
338:
339: /**
340: * Sets the value of the target property.
341: *
342: * @param value
343: * allowed object is
344: * {@link String }
345: *
346: */
347: public void setTarget(String value) {
348: this .target = value;
349: }
350:
351: }
352:
353: /**
354: * <p>Java class for anonymous complex type.
355: *
356: * <p>The following schema fragment specifies the expected content contained within this class.
357: *
358: * <pre>
359: * <complexType>
360: * <complexContent>
361: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
362: * <attribute name="input_semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
363: * <attribute name="input_set" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
364: * <attribute name="semantic" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
365: * </restriction>
366: * </complexContent>
367: * </complexType>
368: * </pre>
369: *
370: *
371: */
372: @XmlAccessorType(XmlAccessType.FIELD)
373: @XmlType(name="")
374: public static class BindVertexInput {
375:
376: @XmlAttribute(name="input_semantic",required=true)
377: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
378: protected String inputSemantic;
379: @XmlAttribute(name="input_set")
380: protected BigInteger inputSet;
381: @XmlAttribute(required=true)
382: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
383: protected String semantic;
384:
385: /**
386: * Gets the value of the inputSemantic property.
387: *
388: * @return
389: * possible object is
390: * {@link String }
391: *
392: */
393: public String getInputSemantic() {
394: return inputSemantic;
395: }
396:
397: /**
398: * Sets the value of the inputSemantic property.
399: *
400: * @param value
401: * allowed object is
402: * {@link String }
403: *
404: */
405: public void setInputSemantic(String value) {
406: this .inputSemantic = value;
407: }
408:
409: /**
410: * Gets the value of the inputSet property.
411: *
412: * @return
413: * possible object is
414: * {@link BigInteger }
415: *
416: */
417: public BigInteger getInputSet() {
418: return inputSet;
419: }
420:
421: /**
422: * Sets the value of the inputSet property.
423: *
424: * @param value
425: * allowed object is
426: * {@link BigInteger }
427: *
428: */
429: public void setInputSet(BigInteger value) {
430: this .inputSet = value;
431: }
432:
433: /**
434: * Gets the value of the semantic property.
435: *
436: * @return
437: * possible object is
438: * {@link String }
439: *
440: */
441: public String getSemantic() {
442: return semantic;
443: }
444:
445: /**
446: * Sets the value of the semantic property.
447: *
448: * @param value
449: * allowed object is
450: * {@link String }
451: *
452: */
453: public void setSemantic(String value) {
454: this.semantic = value;
455: }
456:
457: }
458:
459: }
|