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.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022: /**
023: * <p>Java class for anonymous complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType>
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
033: * <element name="technique_common">
034: * <complexType>
035: * <complexContent>
036: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037: * <sequence>
038: * <element name="dynamic_friction" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
039: * <element name="restitution" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
040: * <element name="static_friction" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
041: * </sequence>
042: * </restriction>
043: * </complexContent>
044: * </complexType>
045: * </element>
046: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
047: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
048: * </sequence>
049: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
050: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
051: * </restriction>
052: * </complexContent>
053: * </complexType>
054: * </pre>
055: *
056: *
057: */
058: @XmlAccessorType(XmlAccessType.FIELD)
059: @XmlType(name="",propOrder={"asset","techniqueCommon","techniques","extras"})
060: @XmlRootElement(name="physics_material")
061: public class PhysicsMaterial {
062:
063: protected Asset asset;
064: @XmlElement(name="technique_common",required=true)
065: protected PhysicsMaterial.TechniqueCommon techniqueCommon;
066: @XmlElement(name="technique")
067: protected List<Technique> techniques;
068: @XmlElement(name="extra")
069: protected List<Extra> extras;
070: @XmlAttribute
071: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
072: @XmlID
073: protected String id;
074: @XmlAttribute
075: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
076: protected String name;
077:
078: /**
079: *
080: * The physics_material element may contain an asset element.
081: *
082: *
083: * @return
084: * possible object is
085: * {@link Asset }
086: *
087: */
088: public Asset getAsset() {
089: return asset;
090: }
091:
092: /**
093: *
094: * The physics_material element may contain an asset element.
095: *
096: *
097: * @param value
098: * allowed object is
099: * {@link Asset }
100: *
101: */
102: public void setAsset(Asset value) {
103: this .asset = value;
104: }
105:
106: /**
107: * Gets the value of the techniqueCommon property.
108: *
109: * @return
110: * possible object is
111: * {@link PhysicsMaterial.TechniqueCommon }
112: *
113: */
114: public PhysicsMaterial.TechniqueCommon getTechniqueCommon() {
115: return techniqueCommon;
116: }
117:
118: /**
119: * Sets the value of the techniqueCommon property.
120: *
121: * @param value
122: * allowed object is
123: * {@link PhysicsMaterial.TechniqueCommon }
124: *
125: */
126: public void setTechniqueCommon(PhysicsMaterial.TechniqueCommon value) {
127: this .techniqueCommon = value;
128: }
129:
130: /**
131: *
132: * This element may contain any number of non-common profile techniques.
133: * Gets the value of the techniques property.
134: *
135: * <p>
136: * This accessor method returns a reference to the live list,
137: * not a snapshot. Therefore any modification you make to the
138: * returned list will be present inside the JAXB object.
139: * This is why there is not a <CODE>set</CODE> method for the techniques property.
140: *
141: * <p>
142: * For example, to add a new item, do as follows:
143: * <pre>
144: * getTechniques().add(newItem);
145: * </pre>
146: *
147: *
148: * <p>
149: * Objects of the following type(s) are allowed in the list
150: * {@link Technique }
151: *
152: *
153: */
154: public List<Technique> getTechniques() {
155: if (techniques == null) {
156: techniques = new ArrayList<Technique>();
157: }
158: return this .techniques;
159: }
160:
161: /**
162: *
163: * The extra element may appear any number of times.
164: * Gets the value of the extras property.
165: *
166: * <p>
167: * This accessor method returns a reference to the live list,
168: * not a snapshot. Therefore any modification you make to the
169: * returned list will be present inside the JAXB object.
170: * This is why there is not a <CODE>set</CODE> method for the extras property.
171: *
172: * <p>
173: * For example, to add a new item, do as follows:
174: * <pre>
175: * getExtras().add(newItem);
176: * </pre>
177: *
178: *
179: * <p>
180: * Objects of the following type(s) are allowed in the list
181: * {@link Extra }
182: *
183: *
184: */
185: public List<Extra> getExtras() {
186: if (extras == null) {
187: extras = new ArrayList<Extra>();
188: }
189: return this .extras;
190: }
191:
192: /**
193: * Gets the value of the id property.
194: *
195: * @return
196: * possible object is
197: * {@link String }
198: *
199: */
200: public String getId() {
201: return id;
202: }
203:
204: /**
205: * Sets the value of the id property.
206: *
207: * @param value
208: * allowed object is
209: * {@link String }
210: *
211: */
212: public void setId(String value) {
213: this .id = value;
214: }
215:
216: /**
217: * Gets the value of the name property.
218: *
219: * @return
220: * possible object is
221: * {@link String }
222: *
223: */
224: public String getName() {
225: return name;
226: }
227:
228: /**
229: * Sets the value of the name property.
230: *
231: * @param value
232: * allowed object is
233: * {@link String }
234: *
235: */
236: public void setName(String value) {
237: this .name = value;
238: }
239:
240: /**
241: * <p>Java class for anonymous complex type.
242: *
243: * <p>The following schema fragment specifies the expected content contained within this class.
244: *
245: * <pre>
246: * <complexType>
247: * <complexContent>
248: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
249: * <sequence>
250: * <element name="dynamic_friction" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
251: * <element name="restitution" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
252: * <element name="static_friction" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
253: * </sequence>
254: * </restriction>
255: * </complexContent>
256: * </complexType>
257: * </pre>
258: *
259: *
260: */
261: @XmlAccessorType(XmlAccessType.FIELD)
262: @XmlType(name="",propOrder={"dynamicFriction","restitution","staticFriction"})
263: public static class TechniqueCommon {
264:
265: @XmlElement(name="dynamic_friction")
266: protected TargetableFloat dynamicFriction;
267: protected TargetableFloat restitution;
268: @XmlElement(name="static_friction")
269: protected TargetableFloat staticFriction;
270:
271: /**
272: * Gets the value of the dynamicFriction property.
273: *
274: * @return
275: * possible object is
276: * {@link TargetableFloat }
277: *
278: */
279: public TargetableFloat getDynamicFriction() {
280: return dynamicFriction;
281: }
282:
283: /**
284: * Sets the value of the dynamicFriction property.
285: *
286: * @param value
287: * allowed object is
288: * {@link TargetableFloat }
289: *
290: */
291: public void setDynamicFriction(TargetableFloat value) {
292: this .dynamicFriction = value;
293: }
294:
295: /**
296: * Gets the value of the restitution property.
297: *
298: * @return
299: * possible object is
300: * {@link TargetableFloat }
301: *
302: */
303: public TargetableFloat getRestitution() {
304: return restitution;
305: }
306:
307: /**
308: * Sets the value of the restitution property.
309: *
310: * @param value
311: * allowed object is
312: * {@link TargetableFloat }
313: *
314: */
315: public void setRestitution(TargetableFloat value) {
316: this .restitution = value;
317: }
318:
319: /**
320: * Gets the value of the staticFriction property.
321: *
322: * @return
323: * possible object is
324: * {@link TargetableFloat }
325: *
326: */
327: public TargetableFloat getStaticFriction() {
328: return staticFriction;
329: }
330:
331: /**
332: * Sets the value of the staticFriction property.
333: *
334: * @param value
335: * allowed object is
336: * {@link TargetableFloat }
337: *
338: */
339: public void setStaticFriction(TargetableFloat value) {
340: this.staticFriction = value;
341: }
342:
343: }
344:
345: }
|