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.XmlRootElement;
016: import javax.xml.bind.annotation.XmlType;
017:
018: /**
019: * <p>Java class for anonymous complex type.
020: *
021: * <p>The following schema fragment specifies the expected content contained within this class.
022: *
023: * <pre>
024: * <complexType>
025: * <complexContent>
026: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
027: * <sequence>
028: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}param" maxOccurs="unbounded" minOccurs="0"/>
029: * <element name="technique_common">
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_material" maxOccurs="unbounded"/>
035: * </sequence>
036: * </restriction>
037: * </complexContent>
038: * </complexType>
039: * </element>
040: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
041: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
042: * </sequence>
043: * </restriction>
044: * </complexContent>
045: * </complexType>
046: * </pre>
047: *
048: *
049: */
050: @XmlAccessorType(XmlAccessType.FIELD)
051: @XmlType(name="",propOrder={"params","techniqueCommon","techniques","extras"})
052: @XmlRootElement(name="bind_material")
053: public class BindMaterial {
054:
055: @XmlElement(name="param")
056: protected List<Param> params;
057: @XmlElement(name="technique_common",required=true)
058: protected BindMaterial.TechniqueCommon techniqueCommon;
059: @XmlElement(name="technique")
060: protected List<Technique> techniques;
061: @XmlElement(name="extra")
062: protected List<Extra> extras;
063:
064: /**
065: *
066: * The bind_material element may contain any number of param elements.
067: * Gets the value of the params property.
068: *
069: * <p>
070: * This accessor method returns a reference to the live list,
071: * not a snapshot. Therefore any modification you make to the
072: * returned list will be present inside the JAXB object.
073: * This is why there is not a <CODE>set</CODE> method for the params property.
074: *
075: * <p>
076: * For example, to add a new item, do as follows:
077: * <pre>
078: * getParams().add(newItem);
079: * </pre>
080: *
081: *
082: * <p>
083: * Objects of the following type(s) are allowed in the list
084: * {@link Param }
085: *
086: *
087: */
088: public List<Param> getParams() {
089: if (params == null) {
090: params = new ArrayList<Param>();
091: }
092: return this .params;
093: }
094:
095: /**
096: * Gets the value of the techniqueCommon property.
097: *
098: * @return
099: * possible object is
100: * {@link BindMaterial.TechniqueCommon }
101: *
102: */
103: public BindMaterial.TechniqueCommon getTechniqueCommon() {
104: return techniqueCommon;
105: }
106:
107: /**
108: * Sets the value of the techniqueCommon property.
109: *
110: * @param value
111: * allowed object is
112: * {@link BindMaterial.TechniqueCommon }
113: *
114: */
115: public void setTechniqueCommon(BindMaterial.TechniqueCommon value) {
116: this .techniqueCommon = value;
117: }
118:
119: /**
120: *
121: * This element may contain any number of non-common profile techniques.
122: * Gets the value of the techniques property.
123: *
124: * <p>
125: * This accessor method returns a reference to the live list,
126: * not a snapshot. Therefore any modification you make to the
127: * returned list will be present inside the JAXB object.
128: * This is why there is not a <CODE>set</CODE> method for the techniques property.
129: *
130: * <p>
131: * For example, to add a new item, do as follows:
132: * <pre>
133: * getTechniques().add(newItem);
134: * </pre>
135: *
136: *
137: * <p>
138: * Objects of the following type(s) are allowed in the list
139: * {@link Technique }
140: *
141: *
142: */
143: public List<Technique> getTechniques() {
144: if (techniques == null) {
145: techniques = new ArrayList<Technique>();
146: }
147: return this .techniques;
148: }
149:
150: /**
151: *
152: * The extra element may appear any number of times.
153: * Gets the value of the extras property.
154: *
155: * <p>
156: * This accessor method returns a reference to the live list,
157: * not a snapshot. Therefore any modification you make to the
158: * returned list will be present inside the JAXB object.
159: * This is why there is not a <CODE>set</CODE> method for the extras property.
160: *
161: * <p>
162: * For example, to add a new item, do as follows:
163: * <pre>
164: * getExtras().add(newItem);
165: * </pre>
166: *
167: *
168: * <p>
169: * Objects of the following type(s) are allowed in the list
170: * {@link Extra }
171: *
172: *
173: */
174: public List<Extra> getExtras() {
175: if (extras == null) {
176: extras = new ArrayList<Extra>();
177: }
178: return this .extras;
179: }
180:
181: /**
182: * <p>Java class for anonymous complex type.
183: *
184: * <p>The following schema fragment specifies the expected content contained within this class.
185: *
186: * <pre>
187: * <complexType>
188: * <complexContent>
189: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
190: * <sequence>
191: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_material" maxOccurs="unbounded"/>
192: * </sequence>
193: * </restriction>
194: * </complexContent>
195: * </complexType>
196: * </pre>
197: *
198: *
199: */
200: @XmlAccessorType(XmlAccessType.FIELD)
201: @XmlType(name="",propOrder={"instanceMaterials"})
202: public static class TechniqueCommon {
203:
204: @XmlElement(name="instance_material",required=true)
205: protected List<InstanceMaterial> instanceMaterials;
206:
207: /**
208: *
209: * The instance_material element specifies the information needed to bind a geometry
210: * to a material. This element must appear at least once.
211: * Gets the value of the instanceMaterials property.
212: *
213: * <p>
214: * This accessor method returns a reference to the live list,
215: * not a snapshot. Therefore any modification you make to the
216: * returned list will be present inside the JAXB object.
217: * This is why there is not a <CODE>set</CODE> method for the instanceMaterials property.
218: *
219: * <p>
220: * For example, to add a new item, do as follows:
221: * <pre>
222: * getInstanceMaterials().add(newItem);
223: * </pre>
224: *
225: *
226: * <p>
227: * Objects of the following type(s) are allowed in the list
228: * {@link InstanceMaterial }
229: *
230: *
231: */
232: public List<InstanceMaterial> getInstanceMaterials() {
233: if (instanceMaterials == null) {
234: instanceMaterials = new ArrayList<InstanceMaterial>();
235: }
236: return this.instanceMaterials;
237: }
238:
239: }
240:
241: }
|