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