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.XmlIDREF;
017: import javax.xml.bind.annotation.XmlType;
018:
019: /**
020: * <p>Java class for fx_surface_init_cube_common complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="fx_surface_init_cube_common">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <choice>
029: * <element name="all">
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
034: * </restriction>
035: * </complexContent>
036: * </complexType>
037: * </element>
038: * <element name="primary">
039: * <complexType>
040: * <complexContent>
041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042: * <sequence minOccurs="0">
043: * <element name="order" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_face_enum" maxOccurs="6" minOccurs="6"/>
044: * </sequence>
045: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </element>
050: * <element name="face" maxOccurs="6" minOccurs="6">
051: * <complexType>
052: * <complexContent>
053: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
054: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
055: * </restriction>
056: * </complexContent>
057: * </complexType>
058: * </element>
059: * </choice>
060: * </restriction>
061: * </complexContent>
062: * </complexType>
063: * </pre>
064: *
065: *
066: */
067: @XmlAccessorType(XmlAccessType.FIELD)
068: @XmlType(name="fx_surface_init_cube_common",propOrder={"all","primary","faces"})
069: public class FxSurfaceInitCubeCommon {
070:
071: protected FxSurfaceInitCubeCommon.All all;
072: protected FxSurfaceInitCubeCommon.Primary primary;
073: @XmlElement(name="face")
074: protected List<FxSurfaceInitCubeCommon.Face> faces;
075:
076: /**
077: * Gets the value of the all property.
078: *
079: * @return
080: * possible object is
081: * {@link FxSurfaceInitCubeCommon.All }
082: *
083: */
084: public FxSurfaceInitCubeCommon.All getAll() {
085: return all;
086: }
087:
088: /**
089: * Sets the value of the all property.
090: *
091: * @param value
092: * allowed object is
093: * {@link FxSurfaceInitCubeCommon.All }
094: *
095: */
096: public void setAll(FxSurfaceInitCubeCommon.All value) {
097: this .all = value;
098: }
099:
100: /**
101: * Gets the value of the primary property.
102: *
103: * @return
104: * possible object is
105: * {@link FxSurfaceInitCubeCommon.Primary }
106: *
107: */
108: public FxSurfaceInitCubeCommon.Primary getPrimary() {
109: return primary;
110: }
111:
112: /**
113: * Sets the value of the primary property.
114: *
115: * @param value
116: * allowed object is
117: * {@link FxSurfaceInitCubeCommon.Primary }
118: *
119: */
120: public void setPrimary(FxSurfaceInitCubeCommon.Primary value) {
121: this .primary = value;
122: }
123:
124: /**
125: * Gets the value of the faces property.
126: *
127: * <p>
128: * This accessor method returns a reference to the live list,
129: * not a snapshot. Therefore any modification you make to the
130: * returned list will be present inside the JAXB object.
131: * This is why there is not a <CODE>set</CODE> method for the faces property.
132: *
133: * <p>
134: * For example, to add a new item, do as follows:
135: * <pre>
136: * getFaces().add(newItem);
137: * </pre>
138: *
139: *
140: * <p>
141: * Objects of the following type(s) are allowed in the list
142: * {@link FxSurfaceInitCubeCommon.Face }
143: *
144: *
145: */
146: public List<FxSurfaceInitCubeCommon.Face> getFaces() {
147: if (faces == null) {
148: faces = new ArrayList<FxSurfaceInitCubeCommon.Face>();
149: }
150: return this .faces;
151: }
152:
153: /**
154: * <p>Java class for anonymous complex type.
155: *
156: * <p>The following schema fragment specifies the expected content contained within this class.
157: *
158: * <pre>
159: * <complexType>
160: * <complexContent>
161: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
162: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
163: * </restriction>
164: * </complexContent>
165: * </complexType>
166: * </pre>
167: *
168: *
169: */
170: @XmlAccessorType(XmlAccessType.FIELD)
171: @XmlType(name="")
172: public static class All {
173:
174: @XmlAttribute(required=true)
175: @XmlIDREF
176: protected Object ref;
177:
178: /**
179: * Gets the value of the ref property.
180: *
181: * @return
182: * possible object is
183: * {@link Object }
184: *
185: */
186: public Object getRef() {
187: return ref;
188: }
189:
190: /**
191: * Sets the value of the ref property.
192: *
193: * @param value
194: * allowed object is
195: * {@link Object }
196: *
197: */
198: public void setRef(Object value) {
199: this .ref = value;
200: }
201:
202: }
203:
204: /**
205: * <p>Java class for anonymous complex type.
206: *
207: * <p>The following schema fragment specifies the expected content contained within this class.
208: *
209: * <pre>
210: * <complexType>
211: * <complexContent>
212: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
213: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
214: * </restriction>
215: * </complexContent>
216: * </complexType>
217: * </pre>
218: *
219: *
220: */
221: @XmlAccessorType(XmlAccessType.FIELD)
222: @XmlType(name="")
223: public static class Face {
224:
225: @XmlAttribute(required=true)
226: @XmlIDREF
227: protected Object ref;
228:
229: /**
230: * Gets the value of the ref property.
231: *
232: * @return
233: * possible object is
234: * {@link Object }
235: *
236: */
237: public Object getRef() {
238: return ref;
239: }
240:
241: /**
242: * Sets the value of the ref property.
243: *
244: * @param value
245: * allowed object is
246: * {@link Object }
247: *
248: */
249: public void setRef(Object value) {
250: this .ref = value;
251: }
252:
253: }
254:
255: /**
256: * <p>Java class for anonymous complex type.
257: *
258: * <p>The following schema fragment specifies the expected content contained within this class.
259: *
260: * <pre>
261: * <complexType>
262: * <complexContent>
263: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
264: * <sequence minOccurs="0">
265: * <element name="order" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_face_enum" maxOccurs="6" minOccurs="6"/>
266: * </sequence>
267: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
268: * </restriction>
269: * </complexContent>
270: * </complexType>
271: * </pre>
272: *
273: *
274: */
275: @XmlAccessorType(XmlAccessType.FIELD)
276: @XmlType(name="",propOrder={"orders"})
277: public static class Primary {
278:
279: @XmlElement(name="order")
280: protected List<FxSurfaceFaceEnum> orders;
281: @XmlAttribute(required=true)
282: @XmlIDREF
283: protected Object ref;
284:
285: /**
286: * Gets the value of the orders property.
287: *
288: * <p>
289: * This accessor method returns a reference to the live list,
290: * not a snapshot. Therefore any modification you make to the
291: * returned list will be present inside the JAXB object.
292: * This is why there is not a <CODE>set</CODE> method for the orders property.
293: *
294: * <p>
295: * For example, to add a new item, do as follows:
296: * <pre>
297: * getOrders().add(newItem);
298: * </pre>
299: *
300: *
301: * <p>
302: * Objects of the following type(s) are allowed in the list
303: * {@link FxSurfaceFaceEnum }
304: *
305: *
306: */
307: public List<FxSurfaceFaceEnum> getOrders() {
308: if (orders == null) {
309: orders = new ArrayList<FxSurfaceFaceEnum>();
310: }
311: return this .orders;
312: }
313:
314: /**
315: * Gets the value of the ref property.
316: *
317: * @return
318: * possible object is
319: * {@link Object }
320: *
321: */
322: public Object getRef() {
323: return ref;
324: }
325:
326: /**
327: * Sets the value of the ref property.
328: *
329: * @param value
330: * allowed object is
331: * {@link Object }
332: *
333: */
334: public void setRef(Object value) {
335: this.ref = value;
336: }
337:
338: }
339:
340: }
|