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.XmlElement;
015: import javax.xml.bind.annotation.XmlList;
016: import javax.xml.bind.annotation.XmlType;
017: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019:
020: /**
021: *
022: * A three-dimensional texture sampler.
023: *
024: *
025: * <p>Java class for fx_sampler3D_common complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType name="fx_sampler3D_common">
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element name="source" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
035: * <element name="wrap_s" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_wrap_common" minOccurs="0"/>
036: * <element name="wrap_t" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_wrap_common" minOccurs="0"/>
037: * <element name="wrap_p" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_wrap_common" minOccurs="0"/>
038: * <element name="minfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
039: * <element name="magfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
040: * <element name="mipfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
041: * <element name="border_color" type="{http://www.collada.org/2005/11/COLLADASchema}fx_color_common" minOccurs="0"/>
042: * <element name="mipmap_maxlevel" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" minOccurs="0"/>
043: * <element name="mipmap_bias" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
044: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
045: * </sequence>
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: *
051: *
052: */
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="fx_sampler3D_common",propOrder={"source","wrapS","wrapT","wrapP","minfilter","magfilter","mipfilter","borderColor","mipmapMaxlevel","mipmapBias","extras"})
055: public class FxSampler3DCommon {
056:
057: @XmlElement(required=true)
058: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059: protected String source;
060: @XmlElement(name="wrap_s",defaultValue="WRAP")
061: protected FxSamplerWrapCommon wrapS;
062: @XmlElement(name="wrap_t",defaultValue="WRAP")
063: protected FxSamplerWrapCommon wrapT;
064: @XmlElement(name="wrap_p",defaultValue="WRAP")
065: protected FxSamplerWrapCommon wrapP;
066: @XmlElement(defaultValue="NONE")
067: protected FxSamplerFilterCommon minfilter;
068: @XmlElement(defaultValue="NONE")
069: protected FxSamplerFilterCommon magfilter;
070: @XmlElement(defaultValue="NONE")
071: protected FxSamplerFilterCommon mipfilter;
072: @XmlList
073: @XmlElement(name="border_color",type=Double.class)
074: protected List<Double> borderColor;
075: @XmlElement(name="mipmap_maxlevel",defaultValue="255")
076: protected Short mipmapMaxlevel;
077: @XmlElement(name="mipmap_bias",defaultValue="0.0")
078: protected Float mipmapBias;
079: @XmlElement(name="extra")
080: protected List<Extra> extras;
081:
082: /**
083: * Gets the value of the source property.
084: *
085: * @return
086: * possible object is
087: * {@link String }
088: *
089: */
090: public String getSource() {
091: return source;
092: }
093:
094: /**
095: * Sets the value of the source property.
096: *
097: * @param value
098: * allowed object is
099: * {@link String }
100: *
101: */
102: public void setSource(String value) {
103: this .source = value;
104: }
105:
106: /**
107: * Gets the value of the wrapS property.
108: *
109: * @return
110: * possible object is
111: * {@link FxSamplerWrapCommon }
112: *
113: */
114: public FxSamplerWrapCommon getWrapS() {
115: return wrapS;
116: }
117:
118: /**
119: * Sets the value of the wrapS property.
120: *
121: * @param value
122: * allowed object is
123: * {@link FxSamplerWrapCommon }
124: *
125: */
126: public void setWrapS(FxSamplerWrapCommon value) {
127: this .wrapS = value;
128: }
129:
130: /**
131: * Gets the value of the wrapT property.
132: *
133: * @return
134: * possible object is
135: * {@link FxSamplerWrapCommon }
136: *
137: */
138: public FxSamplerWrapCommon getWrapT() {
139: return wrapT;
140: }
141:
142: /**
143: * Sets the value of the wrapT property.
144: *
145: * @param value
146: * allowed object is
147: * {@link FxSamplerWrapCommon }
148: *
149: */
150: public void setWrapT(FxSamplerWrapCommon value) {
151: this .wrapT = value;
152: }
153:
154: /**
155: * Gets the value of the wrapP property.
156: *
157: * @return
158: * possible object is
159: * {@link FxSamplerWrapCommon }
160: *
161: */
162: public FxSamplerWrapCommon getWrapP() {
163: return wrapP;
164: }
165:
166: /**
167: * Sets the value of the wrapP property.
168: *
169: * @param value
170: * allowed object is
171: * {@link FxSamplerWrapCommon }
172: *
173: */
174: public void setWrapP(FxSamplerWrapCommon value) {
175: this .wrapP = value;
176: }
177:
178: /**
179: * Gets the value of the minfilter property.
180: *
181: * @return
182: * possible object is
183: * {@link FxSamplerFilterCommon }
184: *
185: */
186: public FxSamplerFilterCommon getMinfilter() {
187: return minfilter;
188: }
189:
190: /**
191: * Sets the value of the minfilter property.
192: *
193: * @param value
194: * allowed object is
195: * {@link FxSamplerFilterCommon }
196: *
197: */
198: public void setMinfilter(FxSamplerFilterCommon value) {
199: this .minfilter = value;
200: }
201:
202: /**
203: * Gets the value of the magfilter property.
204: *
205: * @return
206: * possible object is
207: * {@link FxSamplerFilterCommon }
208: *
209: */
210: public FxSamplerFilterCommon getMagfilter() {
211: return magfilter;
212: }
213:
214: /**
215: * Sets the value of the magfilter property.
216: *
217: * @param value
218: * allowed object is
219: * {@link FxSamplerFilterCommon }
220: *
221: */
222: public void setMagfilter(FxSamplerFilterCommon value) {
223: this .magfilter = value;
224: }
225:
226: /**
227: * Gets the value of the mipfilter property.
228: *
229: * @return
230: * possible object is
231: * {@link FxSamplerFilterCommon }
232: *
233: */
234: public FxSamplerFilterCommon getMipfilter() {
235: return mipfilter;
236: }
237:
238: /**
239: * Sets the value of the mipfilter property.
240: *
241: * @param value
242: * allowed object is
243: * {@link FxSamplerFilterCommon }
244: *
245: */
246: public void setMipfilter(FxSamplerFilterCommon value) {
247: this .mipfilter = value;
248: }
249:
250: /**
251: * Gets the value of the borderColor property.
252: *
253: * <p>
254: * This accessor method returns a reference to the live list,
255: * not a snapshot. Therefore any modification you make to the
256: * returned list will be present inside the JAXB object.
257: * This is why there is not a <CODE>set</CODE> method for the borderColor property.
258: *
259: * <p>
260: * For example, to add a new item, do as follows:
261: * <pre>
262: * getBorderColor().add(newItem);
263: * </pre>
264: *
265: *
266: * <p>
267: * Objects of the following type(s) are allowed in the list
268: * {@link Double }
269: *
270: *
271: */
272: public List<Double> getBorderColor() {
273: if (borderColor == null) {
274: borderColor = new ArrayList<Double>();
275: }
276: return this .borderColor;
277: }
278:
279: /**
280: * Gets the value of the mipmapMaxlevel property.
281: *
282: * @return
283: * possible object is
284: * {@link Short }
285: *
286: */
287: public Short getMipmapMaxlevel() {
288: return mipmapMaxlevel;
289: }
290:
291: /**
292: * Sets the value of the mipmapMaxlevel property.
293: *
294: * @param value
295: * allowed object is
296: * {@link Short }
297: *
298: */
299: public void setMipmapMaxlevel(Short value) {
300: this .mipmapMaxlevel = value;
301: }
302:
303: /**
304: * Gets the value of the mipmapBias property.
305: *
306: * @return
307: * possible object is
308: * {@link Float }
309: *
310: */
311: public Float getMipmapBias() {
312: return mipmapBias;
313: }
314:
315: /**
316: * Sets the value of the mipmapBias property.
317: *
318: * @param value
319: * allowed object is
320: * {@link Float }
321: *
322: */
323: public void setMipmapBias(Float value) {
324: this .mipmapBias = value;
325: }
326:
327: /**
328: * Gets the value of the extras 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 extras property.
335: *
336: * <p>
337: * For example, to add a new item, do as follows:
338: * <pre>
339: * getExtras().add(newItem);
340: * </pre>
341: *
342: *
343: * <p>
344: * Objects of the following type(s) are allowed in the list
345: * {@link Extra }
346: *
347: *
348: */
349: public List<Extra> getExtras() {
350: if (extras == null) {
351: extras = new ArrayList<Extra>();
352: }
353: return this.extras;
354: }
355:
356: }
|