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.XmlType;
016: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018:
019: /**
020: *
021: * A texture sampler for depth maps.
022: *
023: *
024: * <p>Java class for fx_samplerDEPTH_common complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="fx_samplerDEPTH_common">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element name="source" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
034: * <element name="wrap_s" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_wrap_common" minOccurs="0"/>
035: * <element name="wrap_t" 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 ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
039: * </sequence>
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="fx_samplerDEPTH_common",propOrder={"source","wrapS","wrapT","minfilter","magfilter","extras"})
049: public class FxSamplerDEPTHCommon {
050:
051: @XmlElement(required=true)
052: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
053: protected String source;
054: @XmlElement(name="wrap_s",defaultValue="WRAP")
055: protected FxSamplerWrapCommon wrapS;
056: @XmlElement(name="wrap_t",defaultValue="WRAP")
057: protected FxSamplerWrapCommon wrapT;
058: @XmlElement(defaultValue="NONE")
059: protected FxSamplerFilterCommon minfilter;
060: @XmlElement(defaultValue="NONE")
061: protected FxSamplerFilterCommon magfilter;
062: @XmlElement(name="extra")
063: protected List<Extra> extras;
064:
065: /**
066: * Gets the value of the source property.
067: *
068: * @return
069: * possible object is
070: * {@link String }
071: *
072: */
073: public String getSource() {
074: return source;
075: }
076:
077: /**
078: * Sets the value of the source property.
079: *
080: * @param value
081: * allowed object is
082: * {@link String }
083: *
084: */
085: public void setSource(String value) {
086: this .source = value;
087: }
088:
089: /**
090: * Gets the value of the wrapS property.
091: *
092: * @return
093: * possible object is
094: * {@link FxSamplerWrapCommon }
095: *
096: */
097: public FxSamplerWrapCommon getWrapS() {
098: return wrapS;
099: }
100:
101: /**
102: * Sets the value of the wrapS property.
103: *
104: * @param value
105: * allowed object is
106: * {@link FxSamplerWrapCommon }
107: *
108: */
109: public void setWrapS(FxSamplerWrapCommon value) {
110: this .wrapS = value;
111: }
112:
113: /**
114: * Gets the value of the wrapT property.
115: *
116: * @return
117: * possible object is
118: * {@link FxSamplerWrapCommon }
119: *
120: */
121: public FxSamplerWrapCommon getWrapT() {
122: return wrapT;
123: }
124:
125: /**
126: * Sets the value of the wrapT property.
127: *
128: * @param value
129: * allowed object is
130: * {@link FxSamplerWrapCommon }
131: *
132: */
133: public void setWrapT(FxSamplerWrapCommon value) {
134: this .wrapT = value;
135: }
136:
137: /**
138: * Gets the value of the minfilter property.
139: *
140: * @return
141: * possible object is
142: * {@link FxSamplerFilterCommon }
143: *
144: */
145: public FxSamplerFilterCommon getMinfilter() {
146: return minfilter;
147: }
148:
149: /**
150: * Sets the value of the minfilter property.
151: *
152: * @param value
153: * allowed object is
154: * {@link FxSamplerFilterCommon }
155: *
156: */
157: public void setMinfilter(FxSamplerFilterCommon value) {
158: this .minfilter = value;
159: }
160:
161: /**
162: * Gets the value of the magfilter property.
163: *
164: * @return
165: * possible object is
166: * {@link FxSamplerFilterCommon }
167: *
168: */
169: public FxSamplerFilterCommon getMagfilter() {
170: return magfilter;
171: }
172:
173: /**
174: * Sets the value of the magfilter property.
175: *
176: * @param value
177: * allowed object is
178: * {@link FxSamplerFilterCommon }
179: *
180: */
181: public void setMagfilter(FxSamplerFilterCommon value) {
182: this .magfilter = value;
183: }
184:
185: /**
186: * Gets the value of the extras property.
187: *
188: * <p>
189: * This accessor method returns a reference to the live list,
190: * not a snapshot. Therefore any modification you make to the
191: * returned list will be present inside the JAXB object.
192: * This is why there is not a <CODE>set</CODE> method for the extras property.
193: *
194: * <p>
195: * For example, to add a new item, do as follows:
196: * <pre>
197: * getExtras().add(newItem);
198: * </pre>
199: *
200: *
201: * <p>
202: * Objects of the following type(s) are allowed in the list
203: * {@link Extra }
204: *
205: *
206: */
207: public List<Extra> getExtras() {
208: if (extras == null) {
209: extras = new ArrayList<Extra>();
210: }
211: return this.extras;
212: }
213:
214: }
|