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: * <p>Java class for glsl_setparam_simple complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType name="glsl_setparam_simple">
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <sequence>
031: * <element name="annotate" type="{http://www.collada.org/2005/11/COLLADASchema}fx_annotate_common" maxOccurs="unbounded" minOccurs="0"/>
032: * <group ref="{http://www.collada.org/2005/11/COLLADASchema}glsl_param_type"/>
033: * </sequence>
034: * <attribute name="ref" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}glsl_identifier" />
035: * </restriction>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="glsl_setparam_simple",propOrder={"annotates","sampler3D","_float","float4","samplerDEPTH","float3","bool4","surface","int4","bool2","_int","float4X4","float2","_enum","samplerRECT","bool3","int3","sampler2D","bool","float3X3","int2","sampler1D","float2X2","samplerCUBE"})
044: public class GlslSetparamSimple {
045:
046: @XmlElement(name="annotate")
047: protected List<FxAnnotateCommon> annotates;
048: protected GlSampler3D sampler3D;
049: @XmlElement(name="float")
050: protected Float _float;
051: @XmlList
052: @XmlElement(type=Float.class)
053: protected List<Float> float4;
054: protected GlSamplerDEPTH samplerDEPTH;
055: @XmlList
056: @XmlElement(type=Float.class)
057: protected List<Float> float3;
058: @XmlList
059: @XmlElement(type=Boolean.class)
060: protected List<Boolean> bool4;
061: protected GlslSurfaceType surface;
062: @XmlList
063: @XmlElement(type=Integer.class)
064: protected List<Integer> int4;
065: @XmlList
066: @XmlElement(type=Boolean.class)
067: protected List<Boolean> bool2;
068: @XmlElement(name="int")
069: protected Integer _int;
070: @XmlList
071: @XmlElement(name="float4x4",type=Float.class)
072: protected List<Float> float4X4;
073: @XmlList
074: @XmlElement(type=Float.class)
075: protected List<Float> float2;
076: @XmlElement(name="enum")
077: protected String _enum;
078: protected GlSamplerRECT samplerRECT;
079: @XmlList
080: @XmlElement(type=Boolean.class)
081: protected List<Boolean> bool3;
082: @XmlList
083: @XmlElement(type=Integer.class)
084: protected List<Integer> int3;
085: protected GlSampler2D sampler2D;
086: protected Boolean bool;
087: @XmlList
088: @XmlElement(name="float3x3",type=Float.class)
089: protected List<Float> float3X3;
090: @XmlList
091: @XmlElement(type=Integer.class)
092: protected List<Integer> int2;
093: protected GlSampler1D sampler1D;
094: @XmlList
095: @XmlElement(name="float2x2",type=Float.class)
096: protected List<Float> float2X2;
097: protected GlSamplerCUBE samplerCUBE;
098: @XmlAttribute(required=true)
099: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
100: protected String ref;
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: * Gets the value of the sampler3D property.
133: *
134: * @return
135: * possible object is
136: * {@link GlSampler3D }
137: *
138: */
139: public GlSampler3D getSampler3D() {
140: return sampler3D;
141: }
142:
143: /**
144: * Sets the value of the sampler3D property.
145: *
146: * @param value
147: * allowed object is
148: * {@link GlSampler3D }
149: *
150: */
151: public void setSampler3D(GlSampler3D value) {
152: this .sampler3D = value;
153: }
154:
155: /**
156: * Gets the value of the float property.
157: *
158: * @return
159: * possible object is
160: * {@link Float }
161: *
162: */
163: public Float getFloat() {
164: return _float;
165: }
166:
167: /**
168: * Sets the value of the float property.
169: *
170: * @param value
171: * allowed object is
172: * {@link Float }
173: *
174: */
175: public void setFloat(Float value) {
176: this ._float = value;
177: }
178:
179: /**
180: * Gets the value of the float4 property.
181: *
182: * <p>
183: * This accessor method returns a reference to the live list,
184: * not a snapshot. Therefore any modification you make to the
185: * returned list will be present inside the JAXB object.
186: * This is why there is not a <CODE>set</CODE> method for the float4 property.
187: *
188: * <p>
189: * For example, to add a new item, do as follows:
190: * <pre>
191: * getFloat4().add(newItem);
192: * </pre>
193: *
194: *
195: * <p>
196: * Objects of the following type(s) are allowed in the list
197: * {@link Float }
198: *
199: *
200: */
201: public List<Float> getFloat4() {
202: if (float4 == null) {
203: float4 = new ArrayList<Float>();
204: }
205: return this .float4;
206: }
207:
208: /**
209: * Gets the value of the samplerDEPTH property.
210: *
211: * @return
212: * possible object is
213: * {@link GlSamplerDEPTH }
214: *
215: */
216: public GlSamplerDEPTH getSamplerDEPTH() {
217: return samplerDEPTH;
218: }
219:
220: /**
221: * Sets the value of the samplerDEPTH property.
222: *
223: * @param value
224: * allowed object is
225: * {@link GlSamplerDEPTH }
226: *
227: */
228: public void setSamplerDEPTH(GlSamplerDEPTH value) {
229: this .samplerDEPTH = value;
230: }
231:
232: /**
233: * Gets the value of the float3 property.
234: *
235: * <p>
236: * This accessor method returns a reference to the live list,
237: * not a snapshot. Therefore any modification you make to the
238: * returned list will be present inside the JAXB object.
239: * This is why there is not a <CODE>set</CODE> method for the float3 property.
240: *
241: * <p>
242: * For example, to add a new item, do as follows:
243: * <pre>
244: * getFloat3().add(newItem);
245: * </pre>
246: *
247: *
248: * <p>
249: * Objects of the following type(s) are allowed in the list
250: * {@link Float }
251: *
252: *
253: */
254: public List<Float> getFloat3() {
255: if (float3 == null) {
256: float3 = new ArrayList<Float>();
257: }
258: return this .float3;
259: }
260:
261: /**
262: * Gets the value of the bool4 property.
263: *
264: * <p>
265: * This accessor method returns a reference to the live list,
266: * not a snapshot. Therefore any modification you make to the
267: * returned list will be present inside the JAXB object.
268: * This is why there is not a <CODE>set</CODE> method for the bool4 property.
269: *
270: * <p>
271: * For example, to add a new item, do as follows:
272: * <pre>
273: * getBool4().add(newItem);
274: * </pre>
275: *
276: *
277: * <p>
278: * Objects of the following type(s) are allowed in the list
279: * {@link Boolean }
280: *
281: *
282: */
283: public List<Boolean> getBool4() {
284: if (bool4 == null) {
285: bool4 = new ArrayList<Boolean>();
286: }
287: return this .bool4;
288: }
289:
290: /**
291: * Gets the value of the surface property.
292: *
293: * @return
294: * possible object is
295: * {@link GlslSurfaceType }
296: *
297: */
298: public GlslSurfaceType getSurface() {
299: return surface;
300: }
301:
302: /**
303: * Sets the value of the surface property.
304: *
305: * @param value
306: * allowed object is
307: * {@link GlslSurfaceType }
308: *
309: */
310: public void setSurface(GlslSurfaceType value) {
311: this .surface = value;
312: }
313:
314: /**
315: * Gets the value of the int4 property.
316: *
317: * <p>
318: * This accessor method returns a reference to the live list,
319: * not a snapshot. Therefore any modification you make to the
320: * returned list will be present inside the JAXB object.
321: * This is why there is not a <CODE>set</CODE> method for the int4 property.
322: *
323: * <p>
324: * For example, to add a new item, do as follows:
325: * <pre>
326: * getInt4().add(newItem);
327: * </pre>
328: *
329: *
330: * <p>
331: * Objects of the following type(s) are allowed in the list
332: * {@link Integer }
333: *
334: *
335: */
336: public List<Integer> getInt4() {
337: if (int4 == null) {
338: int4 = new ArrayList<Integer>();
339: }
340: return this .int4;
341: }
342:
343: /**
344: * Gets the value of the bool2 property.
345: *
346: * <p>
347: * This accessor method returns a reference to the live list,
348: * not a snapshot. Therefore any modification you make to the
349: * returned list will be present inside the JAXB object.
350: * This is why there is not a <CODE>set</CODE> method for the bool2 property.
351: *
352: * <p>
353: * For example, to add a new item, do as follows:
354: * <pre>
355: * getBool2().add(newItem);
356: * </pre>
357: *
358: *
359: * <p>
360: * Objects of the following type(s) are allowed in the list
361: * {@link Boolean }
362: *
363: *
364: */
365: public List<Boolean> getBool2() {
366: if (bool2 == null) {
367: bool2 = new ArrayList<Boolean>();
368: }
369: return this .bool2;
370: }
371:
372: /**
373: * Gets the value of the int property.
374: *
375: * @return
376: * possible object is
377: * {@link Integer }
378: *
379: */
380: public Integer getInt() {
381: return _int;
382: }
383:
384: /**
385: * Sets the value of the int property.
386: *
387: * @param value
388: * allowed object is
389: * {@link Integer }
390: *
391: */
392: public void setInt(Integer value) {
393: this ._int = value;
394: }
395:
396: /**
397: * Gets the value of the float4X4 property.
398: *
399: * <p>
400: * This accessor method returns a reference to the live list,
401: * not a snapshot. Therefore any modification you make to the
402: * returned list will be present inside the JAXB object.
403: * This is why there is not a <CODE>set</CODE> method for the float4X4 property.
404: *
405: * <p>
406: * For example, to add a new item, do as follows:
407: * <pre>
408: * getFloat4X4().add(newItem);
409: * </pre>
410: *
411: *
412: * <p>
413: * Objects of the following type(s) are allowed in the list
414: * {@link Float }
415: *
416: *
417: */
418: public List<Float> getFloat4X4() {
419: if (float4X4 == null) {
420: float4X4 = new ArrayList<Float>();
421: }
422: return this .float4X4;
423: }
424:
425: /**
426: * Gets the value of the float2 property.
427: *
428: * <p>
429: * This accessor method returns a reference to the live list,
430: * not a snapshot. Therefore any modification you make to the
431: * returned list will be present inside the JAXB object.
432: * This is why there is not a <CODE>set</CODE> method for the float2 property.
433: *
434: * <p>
435: * For example, to add a new item, do as follows:
436: * <pre>
437: * getFloat2().add(newItem);
438: * </pre>
439: *
440: *
441: * <p>
442: * Objects of the following type(s) are allowed in the list
443: * {@link Float }
444: *
445: *
446: */
447: public List<Float> getFloat2() {
448: if (float2 == null) {
449: float2 = new ArrayList<Float>();
450: }
451: return this .float2;
452: }
453:
454: /**
455: * Gets the value of the enum property.
456: *
457: * @return
458: * possible object is
459: * {@link String }
460: *
461: */
462: public String getEnum() {
463: return _enum;
464: }
465:
466: /**
467: * Sets the value of the enum property.
468: *
469: * @param value
470: * allowed object is
471: * {@link String }
472: *
473: */
474: public void setEnum(String value) {
475: this ._enum = value;
476: }
477:
478: /**
479: * Gets the value of the samplerRECT property.
480: *
481: * @return
482: * possible object is
483: * {@link GlSamplerRECT }
484: *
485: */
486: public GlSamplerRECT getSamplerRECT() {
487: return samplerRECT;
488: }
489:
490: /**
491: * Sets the value of the samplerRECT property.
492: *
493: * @param value
494: * allowed object is
495: * {@link GlSamplerRECT }
496: *
497: */
498: public void setSamplerRECT(GlSamplerRECT value) {
499: this .samplerRECT = value;
500: }
501:
502: /**
503: * Gets the value of the bool3 property.
504: *
505: * <p>
506: * This accessor method returns a reference to the live list,
507: * not a snapshot. Therefore any modification you make to the
508: * returned list will be present inside the JAXB object.
509: * This is why there is not a <CODE>set</CODE> method for the bool3 property.
510: *
511: * <p>
512: * For example, to add a new item, do as follows:
513: * <pre>
514: * getBool3().add(newItem);
515: * </pre>
516: *
517: *
518: * <p>
519: * Objects of the following type(s) are allowed in the list
520: * {@link Boolean }
521: *
522: *
523: */
524: public List<Boolean> getBool3() {
525: if (bool3 == null) {
526: bool3 = new ArrayList<Boolean>();
527: }
528: return this .bool3;
529: }
530:
531: /**
532: * Gets the value of the int3 property.
533: *
534: * <p>
535: * This accessor method returns a reference to the live list,
536: * not a snapshot. Therefore any modification you make to the
537: * returned list will be present inside the JAXB object.
538: * This is why there is not a <CODE>set</CODE> method for the int3 property.
539: *
540: * <p>
541: * For example, to add a new item, do as follows:
542: * <pre>
543: * getInt3().add(newItem);
544: * </pre>
545: *
546: *
547: * <p>
548: * Objects of the following type(s) are allowed in the list
549: * {@link Integer }
550: *
551: *
552: */
553: public List<Integer> getInt3() {
554: if (int3 == null) {
555: int3 = new ArrayList<Integer>();
556: }
557: return this .int3;
558: }
559:
560: /**
561: * Gets the value of the sampler2D property.
562: *
563: * @return
564: * possible object is
565: * {@link GlSampler2D }
566: *
567: */
568: public GlSampler2D getSampler2D() {
569: return sampler2D;
570: }
571:
572: /**
573: * Sets the value of the sampler2D property.
574: *
575: * @param value
576: * allowed object is
577: * {@link GlSampler2D }
578: *
579: */
580: public void setSampler2D(GlSampler2D value) {
581: this .sampler2D = value;
582: }
583:
584: /**
585: * Gets the value of the bool property.
586: *
587: * @return
588: * possible object is
589: * {@link Boolean }
590: *
591: */
592: public Boolean isBool() {
593: return bool;
594: }
595:
596: /**
597: * Sets the value of the bool property.
598: *
599: * @param value
600: * allowed object is
601: * {@link Boolean }
602: *
603: */
604: public void setBool(Boolean value) {
605: this .bool = value;
606: }
607:
608: /**
609: * Gets the value of the float3X3 property.
610: *
611: * <p>
612: * This accessor method returns a reference to the live list,
613: * not a snapshot. Therefore any modification you make to the
614: * returned list will be present inside the JAXB object.
615: * This is why there is not a <CODE>set</CODE> method for the float3X3 property.
616: *
617: * <p>
618: * For example, to add a new item, do as follows:
619: * <pre>
620: * getFloat3X3().add(newItem);
621: * </pre>
622: *
623: *
624: * <p>
625: * Objects of the following type(s) are allowed in the list
626: * {@link Float }
627: *
628: *
629: */
630: public List<Float> getFloat3X3() {
631: if (float3X3 == null) {
632: float3X3 = new ArrayList<Float>();
633: }
634: return this .float3X3;
635: }
636:
637: /**
638: * Gets the value of the int2 property.
639: *
640: * <p>
641: * This accessor method returns a reference to the live list,
642: * not a snapshot. Therefore any modification you make to the
643: * returned list will be present inside the JAXB object.
644: * This is why there is not a <CODE>set</CODE> method for the int2 property.
645: *
646: * <p>
647: * For example, to add a new item, do as follows:
648: * <pre>
649: * getInt2().add(newItem);
650: * </pre>
651: *
652: *
653: * <p>
654: * Objects of the following type(s) are allowed in the list
655: * {@link Integer }
656: *
657: *
658: */
659: public List<Integer> getInt2() {
660: if (int2 == null) {
661: int2 = new ArrayList<Integer>();
662: }
663: return this .int2;
664: }
665:
666: /**
667: * Gets the value of the sampler1D property.
668: *
669: * @return
670: * possible object is
671: * {@link GlSampler1D }
672: *
673: */
674: public GlSampler1D getSampler1D() {
675: return sampler1D;
676: }
677:
678: /**
679: * Sets the value of the sampler1D property.
680: *
681: * @param value
682: * allowed object is
683: * {@link GlSampler1D }
684: *
685: */
686: public void setSampler1D(GlSampler1D value) {
687: this .sampler1D = value;
688: }
689:
690: /**
691: * Gets the value of the float2X2 property.
692: *
693: * <p>
694: * This accessor method returns a reference to the live list,
695: * not a snapshot. Therefore any modification you make to the
696: * returned list will be present inside the JAXB object.
697: * This is why there is not a <CODE>set</CODE> method for the float2X2 property.
698: *
699: * <p>
700: * For example, to add a new item, do as follows:
701: * <pre>
702: * getFloat2X2().add(newItem);
703: * </pre>
704: *
705: *
706: * <p>
707: * Objects of the following type(s) are allowed in the list
708: * {@link Float }
709: *
710: *
711: */
712: public List<Float> getFloat2X2() {
713: if (float2X2 == null) {
714: float2X2 = new ArrayList<Float>();
715: }
716: return this .float2X2;
717: }
718:
719: /**
720: * Gets the value of the samplerCUBE property.
721: *
722: * @return
723: * possible object is
724: * {@link GlSamplerCUBE }
725: *
726: */
727: public GlSamplerCUBE getSamplerCUBE() {
728: return samplerCUBE;
729: }
730:
731: /**
732: * Sets the value of the samplerCUBE property.
733: *
734: * @param value
735: * allowed object is
736: * {@link GlSamplerCUBE }
737: *
738: */
739: public void setSamplerCUBE(GlSamplerCUBE value) {
740: this .samplerCUBE = value;
741: }
742:
743: /**
744: * Gets the value of the ref property.
745: *
746: * @return
747: * possible object is
748: * {@link String }
749: *
750: */
751: public String getRef() {
752: return ref;
753: }
754:
755: /**
756: * Sets the value of the ref property.
757: *
758: * @param value
759: * allowed object is
760: * {@link String }
761: *
762: */
763: public void setRef(String value) {
764: this.ref = value;
765: }
766:
767: }
|