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