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