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.JAXBElement;
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.XmlElementRef;
018: import javax.xml.bind.annotation.XmlID;
019: import javax.xml.bind.annotation.XmlRootElement;
020: import javax.xml.bind.annotation.XmlType;
021: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
022: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
035: * <element name="annotate" type="{http://www.collada.org/2005/11/COLLADASchema}fx_annotate_common" maxOccurs="unbounded" minOccurs="0"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}image" maxOccurs="unbounded" minOccurs="0"/>
037: * <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}fx_newparam_common" maxOccurs="unbounded" minOccurs="0"/>
038: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}fx_profile_abstract" maxOccurs="unbounded"/>
039: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
040: * </sequence>
041: * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
042: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
043: * </restriction>
044: * </complexContent>
045: * </complexType>
046: * </pre>
047: *
048: *
049: */
050: @XmlAccessorType(XmlAccessType.FIELD)
051: @XmlType(name="",propOrder={"asset","annotates","images","newparams","fxProfileAbstracts","extras"})
052: @XmlRootElement(name="effect")
053: public class Effect {
054:
055: protected Asset asset;
056: @XmlElement(name="annotate")
057: protected List<FxAnnotateCommon> annotates;
058: @XmlElement(name="image")
059: protected List<Image> images;
060: @XmlElement(name="newparam")
061: protected List<FxNewparamCommon> newparams;
062: @XmlElementRef(name="fx_profile_abstract",namespace="http://www.collada.org/2005/11/COLLADASchema",type=JAXBElement.class)
063: protected List<JAXBElement<?>> fxProfileAbstracts;
064: @XmlElement(name="extra")
065: protected List<Extra> extras;
066: @XmlAttribute(required=true)
067: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
068: @XmlID
069: protected String id;
070: @XmlAttribute
071: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
072: protected String name;
073:
074: /**
075: *
076: * The effect element may contain an asset element.
077: *
078: *
079: * @return
080: * possible object is
081: * {@link Asset }
082: *
083: */
084: public Asset getAsset() {
085: return asset;
086: }
087:
088: /**
089: *
090: * The effect element may contain an asset element.
091: *
092: *
093: * @param value
094: * allowed object is
095: * {@link Asset }
096: *
097: */
098: public void setAsset(Asset value) {
099: this .asset = value;
100: }
101:
102: /**
103: * Gets the value of the annotates property.
104: *
105: * <p>
106: * This accessor method returns a reference to the live list,
107: * not a snapshot. Therefore any modification you make to the
108: * returned list will be present inside the JAXB object.
109: * This is why there is not a <CODE>set</CODE> method for the annotates property.
110: *
111: * <p>
112: * For example, to add a new item, do as follows:
113: * <pre>
114: * getAnnotates().add(newItem);
115: * </pre>
116: *
117: *
118: * <p>
119: * Objects of the following type(s) are allowed in the list
120: * {@link FxAnnotateCommon }
121: *
122: *
123: */
124: public List<FxAnnotateCommon> getAnnotates() {
125: if (annotates == null) {
126: annotates = new ArrayList<FxAnnotateCommon>();
127: }
128: return this .annotates;
129: }
130:
131: /**
132: *
133: * The image element allows you to create image resources which can be shared by multipe profiles.
134: * Gets the value of the images property.
135: *
136: * <p>
137: * This accessor method returns a reference to the live list,
138: * not a snapshot. Therefore any modification you make to the
139: * returned list will be present inside the JAXB object.
140: * This is why there is not a <CODE>set</CODE> method for the images property.
141: *
142: * <p>
143: * For example, to add a new item, do as follows:
144: * <pre>
145: * getImages().add(newItem);
146: * </pre>
147: *
148: *
149: * <p>
150: * Objects of the following type(s) are allowed in the list
151: * {@link Image }
152: *
153: *
154: */
155: public List<Image> getImages() {
156: if (images == null) {
157: images = new ArrayList<Image>();
158: }
159: return this .images;
160: }
161:
162: /**
163: * Gets the value of the newparams property.
164: *
165: * <p>
166: * This accessor method returns a reference to the live list,
167: * not a snapshot. Therefore any modification you make to the
168: * returned list will be present inside the JAXB object.
169: * This is why there is not a <CODE>set</CODE> method for the newparams property.
170: *
171: * <p>
172: * For example, to add a new item, do as follows:
173: * <pre>
174: * getNewparams().add(newItem);
175: * </pre>
176: *
177: *
178: * <p>
179: * Objects of the following type(s) are allowed in the list
180: * {@link FxNewparamCommon }
181: *
182: *
183: */
184: public List<FxNewparamCommon> getNewparams() {
185: if (newparams == null) {
186: newparams = new ArrayList<FxNewparamCommon>();
187: }
188: return this .newparams;
189: }
190:
191: /**
192: *
193: * This is the substituion group hook which allows you to swap in other COLLADA FX profiles.
194: * Gets the value of the fxProfileAbstracts property.
195: *
196: * <p>
197: * This accessor method returns a reference to the live list,
198: * not a snapshot. Therefore any modification you make to the
199: * returned list will be present inside the JAXB object.
200: * This is why there is not a <CODE>set</CODE> method for the fxProfileAbstracts property.
201: *
202: * <p>
203: * For example, to add a new item, do as follows:
204: * <pre>
205: * getFxProfileAbstracts().add(newItem);
206: * </pre>
207: *
208: *
209: * <p>
210: * Objects of the following type(s) are allowed in the list
211: * {@link JAXBElement }{@code <}{@link ProfileCG }{@code >}
212: * {@link JAXBElement }{@code <}{@link ProfileGLES }{@code >}
213: * {@link JAXBElement }{@code <}{@link ProfileCOMMON }{@code >}
214: * {@link JAXBElement }{@code <}{@link Object }{@code >}
215: * {@link JAXBElement }{@code <}{@link ProfileGLSL }{@code >}
216: *
217: *
218: */
219: public List<JAXBElement<?>> getFxProfileAbstracts() {
220: if (fxProfileAbstracts == null) {
221: fxProfileAbstracts = new ArrayList<JAXBElement<?>>();
222: }
223: return this .fxProfileAbstracts;
224: }
225:
226: /**
227: *
228: * The extra element may appear any number of times.
229: * Gets the value of the extras property.
230: *
231: * <p>
232: * This accessor method returns a reference to the live list,
233: * not a snapshot. Therefore any modification you make to the
234: * returned list will be present inside the JAXB object.
235: * This is why there is not a <CODE>set</CODE> method for the extras property.
236: *
237: * <p>
238: * For example, to add a new item, do as follows:
239: * <pre>
240: * getExtras().add(newItem);
241: * </pre>
242: *
243: *
244: * <p>
245: * Objects of the following type(s) are allowed in the list
246: * {@link Extra }
247: *
248: *
249: */
250: public List<Extra> getExtras() {
251: if (extras == null) {
252: extras = new ArrayList<Extra>();
253: }
254: return this .extras;
255: }
256:
257: /**
258: * Gets the value of the id property.
259: *
260: * @return
261: * possible object is
262: * {@link String }
263: *
264: */
265: public String getId() {
266: return id;
267: }
268:
269: /**
270: * Sets the value of the id property.
271: *
272: * @param value
273: * allowed object is
274: * {@link String }
275: *
276: */
277: public void setId(String value) {
278: this .id = value;
279: }
280:
281: /**
282: * Gets the value of the name property.
283: *
284: * @return
285: * possible object is
286: * {@link String }
287: *
288: */
289: public String getName() {
290: return name;
291: }
292:
293: /**
294: * Sets the value of the name property.
295: *
296: * @param value
297: * allowed object is
298: * {@link String }
299: *
300: */
301: public void setName(String value) {
302: this.name = value;
303: }
304:
305: }
|