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.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019:
020: /**
021: * <p>Java class for anonymous complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType>
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence>
030: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}param" maxOccurs="unbounded" minOccurs="0"/>
031: * </sequence>
032: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
033: * <attribute name="offset" type="{http://www.collada.org/2005/11/COLLADASchema}uint" default="0" />
034: * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
035: * <attribute name="stride" type="{http://www.collada.org/2005/11/COLLADASchema}uint" default="1" />
036: * </restriction>
037: * </complexContent>
038: * </complexType>
039: * </pre>
040: *
041: *
042: */
043: @XmlAccessorType(XmlAccessType.FIELD)
044: @XmlType(name="",propOrder={"params"})
045: @XmlRootElement(name="accessor")
046: public class Accessor {
047:
048: @XmlElement(name="param")
049: protected List<Param> params;
050: @XmlAttribute(required=true)
051: protected BigInteger count;
052: @XmlAttribute
053: protected BigInteger offset;
054: @XmlAttribute
055: protected String source;
056: @XmlAttribute
057: protected BigInteger stride;
058:
059: /**
060: *
061: * The accessor element may have any number of param elements.
062: * Gets the value of the params property.
063: *
064: * <p>
065: * This accessor method returns a reference to the live list,
066: * not a snapshot. Therefore any modification you make to the
067: * returned list will be present inside the JAXB object.
068: * This is why there is not a <CODE>set</CODE> method for the params property.
069: *
070: * <p>
071: * For example, to add a new item, do as follows:
072: * <pre>
073: * getParams().add(newItem);
074: * </pre>
075: *
076: *
077: * <p>
078: * Objects of the following type(s) are allowed in the list
079: * {@link Param }
080: *
081: *
082: */
083: public List<Param> getParams() {
084: if (params == null) {
085: params = new ArrayList<Param>();
086: }
087: return this .params;
088: }
089:
090: /**
091: * Gets the value of the count property.
092: *
093: * @return
094: * possible object is
095: * {@link BigInteger }
096: *
097: */
098: public BigInteger getCount() {
099: return count;
100: }
101:
102: /**
103: * Sets the value of the count property.
104: *
105: * @param value
106: * allowed object is
107: * {@link BigInteger }
108: *
109: */
110: public void setCount(BigInteger value) {
111: this .count = value;
112: }
113:
114: /**
115: * Gets the value of the offset property.
116: *
117: * @return
118: * possible object is
119: * {@link BigInteger }
120: *
121: */
122: public BigInteger getOffset() {
123: if (offset == null) {
124: return new BigInteger("0");
125: } else {
126: return offset;
127: }
128: }
129:
130: /**
131: * Sets the value of the offset property.
132: *
133: * @param value
134: * allowed object is
135: * {@link BigInteger }
136: *
137: */
138: public void setOffset(BigInteger value) {
139: this .offset = value;
140: }
141:
142: /**
143: * Gets the value of the source property.
144: *
145: * @return
146: * possible object is
147: * {@link String }
148: *
149: */
150: public String getSource() {
151: return source;
152: }
153:
154: /**
155: * Sets the value of the source property.
156: *
157: * @param value
158: * allowed object is
159: * {@link String }
160: *
161: */
162: public void setSource(String value) {
163: this .source = value;
164: }
165:
166: /**
167: * Gets the value of the stride property.
168: *
169: * @return
170: * possible object is
171: * {@link BigInteger }
172: *
173: */
174: public BigInteger getStride() {
175: if (stride == null) {
176: return new BigInteger("1");
177: } else {
178: return stride;
179: }
180: }
181:
182: /**
183: * Sets the value of the stride property.
184: *
185: * @param value
186: * allowed object is
187: * {@link BigInteger }
188: *
189: */
190: public void setStride(BigInteger value) {
191: this.stride = value;
192: }
193:
194: }
|