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