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