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.XmlList;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: *
023: * The fx_surface_common type is used to declare a resource that can be used both as the source for texture samples and as the target of a rendering pass.
024: *
025: *
026: * <p>Java class for fx_surface_common complex type.
027: *
028: * <p>The following schema fragment specifies the expected content contained within this class.
029: *
030: * <pre>
031: * <complexType name="fx_surface_common">
032: * <complexContent>
033: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034: * <sequence>
035: * <group ref="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_init_common" minOccurs="0"/>
036: * <element name="format" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
037: * <element name="format_hint" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_format_hint_common" minOccurs="0"/>
038: * <choice minOccurs="0">
039: * <element name="size" type="{http://www.collada.org/2005/11/COLLADASchema}int3"/>
040: * <element name="viewport_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}float2"/>
041: * </choice>
042: * <element name="mip_levels" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0"/>
043: * <element name="mipmap_generate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
044: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
045: * </sequence>
046: * <attribute name="type" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_type_enum" />
047: * </restriction>
048: * </complexContent>
049: * </complexType>
050: * </pre>
051: *
052: *
053: */
054: @XmlAccessorType(XmlAccessType.FIELD)
055: @XmlType(name="fx_surface_common",propOrder={"initPlanar","initVolume","initAsNull","initFroms","initAsTarget","initCube","format","formatHint","size","viewportRatio","mipLevels","mipmapGenerate","extras"})
056: public class FxSurfaceCommon {
057:
058: @XmlElement(name="init_planar")
059: protected FxSurfaceInitPlanarCommon initPlanar;
060: @XmlElement(name="init_volume")
061: protected FxSurfaceInitVolumeCommon initVolume;
062: @XmlElement(name="init_as_null")
063: protected Object initAsNull;
064: @XmlElement(name="init_from")
065: protected List<FxSurfaceInitFromCommon> initFroms;
066: @XmlElement(name="init_as_target")
067: protected Object initAsTarget;
068: @XmlElement(name="init_cube")
069: protected FxSurfaceInitCubeCommon initCube;
070: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
071: protected String format;
072: @XmlElement(name="format_hint")
073: protected FxSurfaceFormatHintCommon formatHint;
074: @XmlList
075: @XmlElement(type=Long.class,defaultValue="0 0 0")
076: protected List<Long> size;
077: @XmlList
078: @XmlElement(name="viewport_ratio",type=Double.class,defaultValue="1 1")
079: protected List<Double> viewportRatio;
080: @XmlElement(name="mip_levels",defaultValue="0")
081: protected Long mipLevels;
082: @XmlElement(name="mipmap_generate")
083: protected Boolean mipmapGenerate;
084: @XmlElement(name="extra")
085: protected List<Extra> extras;
086: @XmlAttribute(required=true)
087: protected String type;
088:
089: /**
090: * Gets the value of the initPlanar property.
091: *
092: * @return
093: * possible object is
094: * {@link FxSurfaceInitPlanarCommon }
095: *
096: */
097: public FxSurfaceInitPlanarCommon getInitPlanar() {
098: return initPlanar;
099: }
100:
101: /**
102: * Sets the value of the initPlanar property.
103: *
104: * @param value
105: * allowed object is
106: * {@link FxSurfaceInitPlanarCommon }
107: *
108: */
109: public void setInitPlanar(FxSurfaceInitPlanarCommon value) {
110: this .initPlanar = value;
111: }
112:
113: /**
114: * Gets the value of the initVolume property.
115: *
116: * @return
117: * possible object is
118: * {@link FxSurfaceInitVolumeCommon }
119: *
120: */
121: public FxSurfaceInitVolumeCommon getInitVolume() {
122: return initVolume;
123: }
124:
125: /**
126: * Sets the value of the initVolume property.
127: *
128: * @param value
129: * allowed object is
130: * {@link FxSurfaceInitVolumeCommon }
131: *
132: */
133: public void setInitVolume(FxSurfaceInitVolumeCommon value) {
134: this .initVolume = value;
135: }
136:
137: /**
138: * Gets the value of the initAsNull property.
139: *
140: * @return
141: * possible object is
142: * {@link Object }
143: *
144: */
145: public Object getInitAsNull() {
146: return initAsNull;
147: }
148:
149: /**
150: * Sets the value of the initAsNull property.
151: *
152: * @param value
153: * allowed object is
154: * {@link Object }
155: *
156: */
157: public void setInitAsNull(Object value) {
158: this .initAsNull = value;
159: }
160:
161: /**
162: * Gets the value of the initFroms property.
163: *
164: * <p>
165: * This accessor method returns a reference to the live list,
166: * not a snapshot. Therefore any modification you make to the
167: * returned list will be present inside the JAXB object.
168: * This is why there is not a <CODE>set</CODE> method for the initFroms property.
169: *
170: * <p>
171: * For example, to add a new item, do as follows:
172: * <pre>
173: * getInitFroms().add(newItem);
174: * </pre>
175: *
176: *
177: * <p>
178: * Objects of the following type(s) are allowed in the list
179: * {@link FxSurfaceInitFromCommon }
180: *
181: *
182: */
183: public List<FxSurfaceInitFromCommon> getInitFroms() {
184: if (initFroms == null) {
185: initFroms = new ArrayList<FxSurfaceInitFromCommon>();
186: }
187: return this .initFroms;
188: }
189:
190: /**
191: * Gets the value of the initAsTarget property.
192: *
193: * @return
194: * possible object is
195: * {@link Object }
196: *
197: */
198: public Object getInitAsTarget() {
199: return initAsTarget;
200: }
201:
202: /**
203: * Sets the value of the initAsTarget property.
204: *
205: * @param value
206: * allowed object is
207: * {@link Object }
208: *
209: */
210: public void setInitAsTarget(Object value) {
211: this .initAsTarget = value;
212: }
213:
214: /**
215: * Gets the value of the initCube property.
216: *
217: * @return
218: * possible object is
219: * {@link FxSurfaceInitCubeCommon }
220: *
221: */
222: public FxSurfaceInitCubeCommon getInitCube() {
223: return initCube;
224: }
225:
226: /**
227: * Sets the value of the initCube property.
228: *
229: * @param value
230: * allowed object is
231: * {@link FxSurfaceInitCubeCommon }
232: *
233: */
234: public void setInitCube(FxSurfaceInitCubeCommon value) {
235: this .initCube = value;
236: }
237:
238: /**
239: * Gets the value of the format property.
240: *
241: * @return
242: * possible object is
243: * {@link String }
244: *
245: */
246: public String getFormat() {
247: return format;
248: }
249:
250: /**
251: * Sets the value of the format property.
252: *
253: * @param value
254: * allowed object is
255: * {@link String }
256: *
257: */
258: public void setFormat(String value) {
259: this .format = value;
260: }
261:
262: /**
263: * Gets the value of the formatHint property.
264: *
265: * @return
266: * possible object is
267: * {@link FxSurfaceFormatHintCommon }
268: *
269: */
270: public FxSurfaceFormatHintCommon getFormatHint() {
271: return formatHint;
272: }
273:
274: /**
275: * Sets the value of the formatHint property.
276: *
277: * @param value
278: * allowed object is
279: * {@link FxSurfaceFormatHintCommon }
280: *
281: */
282: public void setFormatHint(FxSurfaceFormatHintCommon value) {
283: this .formatHint = value;
284: }
285:
286: /**
287: * Gets the value of the size property.
288: *
289: * <p>
290: * This accessor method returns a reference to the live list,
291: * not a snapshot. Therefore any modification you make to the
292: * returned list will be present inside the JAXB object.
293: * This is why there is not a <CODE>set</CODE> method for the size property.
294: *
295: * <p>
296: * For example, to add a new item, do as follows:
297: * <pre>
298: * getSize().add(newItem);
299: * </pre>
300: *
301: *
302: * <p>
303: * Objects of the following type(s) are allowed in the list
304: * {@link Long }
305: *
306: *
307: */
308: public List<Long> getSize() {
309: if (size == null) {
310: size = new ArrayList<Long>();
311: }
312: return this .size;
313: }
314:
315: /**
316: * Gets the value of the viewportRatio property.
317: *
318: * <p>
319: * This accessor method returns a reference to the live list,
320: * not a snapshot. Therefore any modification you make to the
321: * returned list will be present inside the JAXB object.
322: * This is why there is not a <CODE>set</CODE> method for the viewportRatio property.
323: *
324: * <p>
325: * For example, to add a new item, do as follows:
326: * <pre>
327: * getViewportRatio().add(newItem);
328: * </pre>
329: *
330: *
331: * <p>
332: * Objects of the following type(s) are allowed in the list
333: * {@link Double }
334: *
335: *
336: */
337: public List<Double> getViewportRatio() {
338: if (viewportRatio == null) {
339: viewportRatio = new ArrayList<Double>();
340: }
341: return this .viewportRatio;
342: }
343:
344: /**
345: * Gets the value of the mipLevels property.
346: *
347: * @return
348: * possible object is
349: * {@link Long }
350: *
351: */
352: public Long getMipLevels() {
353: return mipLevels;
354: }
355:
356: /**
357: * Sets the value of the mipLevels property.
358: *
359: * @param value
360: * allowed object is
361: * {@link Long }
362: *
363: */
364: public void setMipLevels(Long value) {
365: this .mipLevels = value;
366: }
367:
368: /**
369: * Gets the value of the mipmapGenerate property.
370: *
371: * @return
372: * possible object is
373: * {@link Boolean }
374: *
375: */
376: public Boolean isMipmapGenerate() {
377: return mipmapGenerate;
378: }
379:
380: /**
381: * Sets the value of the mipmapGenerate property.
382: *
383: * @param value
384: * allowed object is
385: * {@link Boolean }
386: *
387: */
388: public void setMipmapGenerate(Boolean value) {
389: this .mipmapGenerate = value;
390: }
391:
392: /**
393: * Gets the value of the extras property.
394: *
395: * <p>
396: * This accessor method returns a reference to the live list,
397: * not a snapshot. Therefore any modification you make to the
398: * returned list will be present inside the JAXB object.
399: * This is why there is not a <CODE>set</CODE> method for the extras property.
400: *
401: * <p>
402: * For example, to add a new item, do as follows:
403: * <pre>
404: * getExtras().add(newItem);
405: * </pre>
406: *
407: *
408: * <p>
409: * Objects of the following type(s) are allowed in the list
410: * {@link Extra }
411: *
412: *
413: */
414: public List<Extra> getExtras() {
415: if (extras == null) {
416: extras = new ArrayList<Extra>();
417: }
418: return this .extras;
419: }
420:
421: /**
422: * Gets the value of the type property.
423: *
424: * @return
425: * possible object is
426: * {@link String }
427: *
428: */
429: public String getType() {
430: return type;
431: }
432:
433: /**
434: * Sets the value of the type property.
435: *
436: * @param value
437: * allowed object is
438: * {@link String }
439: *
440: */
441: public void setType(String value) {
442: this.type = value;
443: }
444:
445: }
|