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