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>ListOfFloats">
032: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
033: * <attribute name="digits" type="{http://www.w3.org/2001/XMLSchema}short" default="6" />
034: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
035: * <attribute name="magnitude" type="{http://www.w3.org/2001/XMLSchema}short" default="38" />
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="float_array")
047: public class FloatArray {
048:
049: @XmlValue
050: protected List<Double> values;
051: @XmlAttribute(required=true)
052: protected BigInteger count;
053: @XmlAttribute
054: protected Short digits;
055: @XmlAttribute
056: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
057: @XmlID
058: protected String id;
059: @XmlAttribute
060: protected Short magnitude;
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 Double }
084: *
085: *
086: */
087: public List<Double> getValues() {
088: if (values == null) {
089: values = new ArrayList<Double>();
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 digits property.
120: *
121: * @return
122: * possible object is
123: * {@link Short }
124: *
125: */
126: public short getDigits() {
127: if (digits == null) {
128: return ((short) 6);
129: } else {
130: return digits;
131: }
132: }
133:
134: /**
135: * Sets the value of the digits property.
136: *
137: * @param value
138: * allowed object is
139: * {@link Short }
140: *
141: */
142: public void setDigits(Short value) {
143: this .digits = value;
144: }
145:
146: /**
147: * Gets the value of the id property.
148: *
149: * @return
150: * possible object is
151: * {@link String }
152: *
153: */
154: public String getId() {
155: return id;
156: }
157:
158: /**
159: * Sets the value of the id property.
160: *
161: * @param value
162: * allowed object is
163: * {@link String }
164: *
165: */
166: public void setId(String value) {
167: this .id = value;
168: }
169:
170: /**
171: * Gets the value of the magnitude property.
172: *
173: * @return
174: * possible object is
175: * {@link Short }
176: *
177: */
178: public short getMagnitude() {
179: if (magnitude == null) {
180: return ((short) 38);
181: } else {
182: return magnitude;
183: }
184: }
185:
186: /**
187: * Sets the value of the magnitude property.
188: *
189: * @param value
190: * allowed object is
191: * {@link Short }
192: *
193: */
194: public void setMagnitude(Short value) {
195: this .magnitude = 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: }
|