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.XmlID;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.XmlValue;
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: * <simpleContent>
031: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>ListOfInts">
032: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
033: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
034: * <attribute name="maxInclusive" type="{http://www.w3.org/2001/XMLSchema}integer" default="2147483647" />
035: * <attribute name="minInclusive" type="{http://www.w3.org/2001/XMLSchema}integer" default="-2147483648" />
036: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * </extension>
038: * </simpleContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="",propOrder={"values"})
046: @XmlRootElement(name="int_array")
047: public class IntArray {
048:
049: @XmlValue
050: protected List<Long> values;
051: @XmlAttribute(required=true)
052: protected BigInteger count;
053: @XmlAttribute
054: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
055: @XmlID
056: protected String id;
057: @XmlAttribute
058: protected BigInteger maxInclusive;
059: @XmlAttribute
060: protected BigInteger minInclusive;
061: @XmlAttribute
062: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
063: protected String name;
064:
065: /**
066: * Gets the value of the values property.
067: *
068: * <p>
069: * This accessor method returns a reference to the live list,
070: * not a snapshot. Therefore any modification you make to the
071: * returned list will be present inside the JAXB object.
072: * This is why there is not a <CODE>set</CODE> method for the values property.
073: *
074: * <p>
075: * For example, to add a new item, do as follows:
076: * <pre>
077: * getValues().add(newItem);
078: * </pre>
079: *
080: *
081: * <p>
082: * Objects of the following type(s) are allowed in the list
083: * {@link Long }
084: *
085: *
086: */
087: public List<Long> getValues() {
088: if (values == null) {
089: values = new ArrayList<Long>();
090: }
091: return this .values;
092: }
093:
094: /**
095: * Gets the value of the count property.
096: *
097: * @return
098: * possible object is
099: * {@link BigInteger }
100: *
101: */
102: public BigInteger getCount() {
103: return count;
104: }
105:
106: /**
107: * Sets the value of the count property.
108: *
109: * @param value
110: * allowed object is
111: * {@link BigInteger }
112: *
113: */
114: public void setCount(BigInteger value) {
115: this .count = value;
116: }
117:
118: /**
119: * Gets the value of the id property.
120: *
121: * @return
122: * possible object is
123: * {@link String }
124: *
125: */
126: public String getId() {
127: return id;
128: }
129:
130: /**
131: * Sets the value of the id property.
132: *
133: * @param value
134: * allowed object is
135: * {@link String }
136: *
137: */
138: public void setId(String value) {
139: this .id = value;
140: }
141:
142: /**
143: * Gets the value of the maxInclusive property.
144: *
145: * @return
146: * possible object is
147: * {@link BigInteger }
148: *
149: */
150: public BigInteger getMaxInclusive() {
151: if (maxInclusive == null) {
152: return new BigInteger("2147483647");
153: } else {
154: return maxInclusive;
155: }
156: }
157:
158: /**
159: * Sets the value of the maxInclusive property.
160: *
161: * @param value
162: * allowed object is
163: * {@link BigInteger }
164: *
165: */
166: public void setMaxInclusive(BigInteger value) {
167: this .maxInclusive = value;
168: }
169:
170: /**
171: * Gets the value of the minInclusive property.
172: *
173: * @return
174: * possible object is
175: * {@link BigInteger }
176: *
177: */
178: public BigInteger getMinInclusive() {
179: if (minInclusive == null) {
180: return new BigInteger("-2147483648");
181: } else {
182: return minInclusive;
183: }
184: }
185:
186: /**
187: * Sets the value of the minInclusive property.
188: *
189: * @param value
190: * allowed object is
191: * {@link BigInteger }
192: *
193: */
194: public void setMinInclusive(BigInteger value) {
195: this .minInclusive = value;
196: }
197:
198: /**
199: * Gets the value of the name property.
200: *
201: * @return
202: * possible object is
203: * {@link String }
204: *
205: */
206: public String getName() {
207: return name;
208: }
209:
210: /**
211: * Sets the value of the name property.
212: *
213: * @param value
214: * allowed object is
215: * {@link String }
216: *
217: */
218: public void setName(String value) {
219: this.name = value;
220: }
221:
222: }
|