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.XmlList;
018: import javax.xml.bind.annotation.XmlRootElement;
019: import javax.xml.bind.annotation.XmlType;
020: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
021: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
022:
023: /**
024: * <p>Java class for anonymous complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType>
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocalOffset" maxOccurs="unbounded" minOccurs="0"/>
034: * <element name="vcount" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" minOccurs="0"/>
035: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}p" minOccurs="0"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
037: * </sequence>
038: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
039: * <attribute name="material" type="{http://www.w3.org/2001/XMLSchema}NCName" />
040: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
041: * </restriction>
042: * </complexContent>
043: * </complexType>
044: * </pre>
045: *
046: *
047: */
048: @XmlAccessorType(XmlAccessType.FIELD)
049: @XmlType(name="",propOrder={"inputs","vcount","p","extras"})
050: @XmlRootElement(name="polylist")
051: public class Polylist {
052:
053: @XmlElement(name="input")
054: protected List<InputLocalOffset> inputs;
055: @XmlList
056: protected List<BigInteger> vcount;
057: @XmlList
058: protected List<BigInteger> p;
059: @XmlElement(name="extra")
060: protected List<Extra> extras;
061: @XmlAttribute(required=true)
062: protected BigInteger count;
063: @XmlAttribute
064: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
065: protected String material;
066: @XmlAttribute
067: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
068: protected String name;
069:
070: /**
071: * Gets the value of the inputs property.
072: *
073: * <p>
074: * This accessor method returns a reference to the live list,
075: * not a snapshot. Therefore any modification you make to the
076: * returned list will be present inside the JAXB object.
077: * This is why there is not a <CODE>set</CODE> method for the inputs property.
078: *
079: * <p>
080: * For example, to add a new item, do as follows:
081: * <pre>
082: * getInputs().add(newItem);
083: * </pre>
084: *
085: *
086: * <p>
087: * Objects of the following type(s) are allowed in the list
088: * {@link InputLocalOffset }
089: *
090: *
091: */
092: public List<InputLocalOffset> getInputs() {
093: if (inputs == null) {
094: inputs = new ArrayList<InputLocalOffset>();
095: }
096: return this .inputs;
097: }
098:
099: /**
100: * Gets the value of the vcount property.
101: *
102: * <p>
103: * This accessor method returns a reference to the live list,
104: * not a snapshot. Therefore any modification you make to the
105: * returned list will be present inside the JAXB object.
106: * This is why there is not a <CODE>set</CODE> method for the vcount property.
107: *
108: * <p>
109: * For example, to add a new item, do as follows:
110: * <pre>
111: * getVcount().add(newItem);
112: * </pre>
113: *
114: *
115: * <p>
116: * Objects of the following type(s) are allowed in the list
117: * {@link BigInteger }
118: *
119: *
120: */
121: public List<BigInteger> getVcount() {
122: if (vcount == null) {
123: vcount = new ArrayList<BigInteger>();
124: }
125: return this .vcount;
126: }
127:
128: /**
129: *
130: * The p element may occur once.
131: * Gets the value of the p property.
132: *
133: * <p>
134: * This accessor method returns a reference to the live list,
135: * not a snapshot. Therefore any modification you make to the
136: * returned list will be present inside the JAXB object.
137: * This is why there is not a <CODE>set</CODE> method for the p property.
138: *
139: * <p>
140: * For example, to add a new item, do as follows:
141: * <pre>
142: * getP().add(newItem);
143: * </pre>
144: *
145: *
146: * <p>
147: * Objects of the following type(s) are allowed in the list
148: * {@link BigInteger }
149: *
150: *
151: */
152: public List<BigInteger> getP() {
153: if (p == null) {
154: p = new ArrayList<BigInteger>();
155: }
156: return this .p;
157: }
158:
159: /**
160: *
161: * The extra element may appear any number of times.
162: * Gets the value of the extras property.
163: *
164: * <p>
165: * This accessor method returns a reference to the live list,
166: * not a snapshot. Therefore any modification you make to the
167: * returned list will be present inside the JAXB object.
168: * This is why there is not a <CODE>set</CODE> method for the extras property.
169: *
170: * <p>
171: * For example, to add a new item, do as follows:
172: * <pre>
173: * getExtras().add(newItem);
174: * </pre>
175: *
176: *
177: * <p>
178: * Objects of the following type(s) are allowed in the list
179: * {@link Extra }
180: *
181: *
182: */
183: public List<Extra> getExtras() {
184: if (extras == null) {
185: extras = new ArrayList<Extra>();
186: }
187: return this .extras;
188: }
189:
190: /**
191: * Gets the value of the count property.
192: *
193: * @return
194: * possible object is
195: * {@link BigInteger }
196: *
197: */
198: public BigInteger getCount() {
199: return count;
200: }
201:
202: /**
203: * Sets the value of the count property.
204: *
205: * @param value
206: * allowed object is
207: * {@link BigInteger }
208: *
209: */
210: public void setCount(BigInteger value) {
211: this .count = value;
212: }
213:
214: /**
215: * Gets the value of the material property.
216: *
217: * @return
218: * possible object is
219: * {@link String }
220: *
221: */
222: public String getMaterial() {
223: return material;
224: }
225:
226: /**
227: * Sets the value of the material property.
228: *
229: * @param value
230: * allowed object is
231: * {@link String }
232: *
233: */
234: public void setMaterial(String value) {
235: this .material = value;
236: }
237:
238: /**
239: * Gets the value of the name property.
240: *
241: * @return
242: * possible object is
243: * {@link String }
244: *
245: */
246: public String getName() {
247: return name;
248: }
249:
250: /**
251: * Sets the value of the name property.
252: *
253: * @param value
254: * allowed object is
255: * {@link String }
256: *
257: */
258: public void setName(String value) {
259: this.name = value;
260: }
261:
262: }
|