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.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: * <p>Java class for anonymous complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType>
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <sequence>
031: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_force_field" maxOccurs="unbounded" minOccurs="0"/>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_rigid_body" maxOccurs="unbounded" minOccurs="0"/>
033: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_rigid_constraint" maxOccurs="unbounded" minOccurs="0"/>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
035: * </sequence>
036: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
038: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
039: * <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="",propOrder={"instanceForceFields","instanceRigidBodies","instanceRigidConstraints","extras"})
049: @XmlRootElement(name="instance_physics_model")
050: public class InstancePhysicsModel {
051:
052: @XmlElement(name="instance_force_field")
053: protected List<InstanceWithExtra> instanceForceFields;
054: @XmlElement(name="instance_rigid_body")
055: protected List<InstanceRigidBody> instanceRigidBodies;
056: @XmlElement(name="instance_rigid_constraint")
057: protected List<InstanceRigidConstraint> instanceRigidConstraints;
058: @XmlElement(name="extra")
059: protected List<Extra> extras;
060: @XmlAttribute
061: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
062: protected String name;
063: @XmlAttribute
064: protected String parent;
065: @XmlAttribute
066: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
067: protected String sid;
068: @XmlAttribute(required=true)
069: protected String url;
070:
071: /**
072: *
073: * The instance_physics_model element may instance any number of force_field elements.
074: * Gets the value of the instanceForceFields property.
075: *
076: * <p>
077: * This accessor method returns a reference to the live list,
078: * not a snapshot. Therefore any modification you make to the
079: * returned list will be present inside the JAXB object.
080: * This is why there is not a <CODE>set</CODE> method for the instanceForceFields property.
081: *
082: * <p>
083: * For example, to add a new item, do as follows:
084: * <pre>
085: * getInstanceForceFields().add(newItem);
086: * </pre>
087: *
088: *
089: * <p>
090: * Objects of the following type(s) are allowed in the list
091: * {@link InstanceWithExtra }
092: *
093: *
094: */
095: public List<InstanceWithExtra> getInstanceForceFields() {
096: if (instanceForceFields == null) {
097: instanceForceFields = new ArrayList<InstanceWithExtra>();
098: }
099: return this .instanceForceFields;
100: }
101:
102: /**
103: *
104: * The instance_physics_model element may instance any number of rigid_body elements.
105: * Gets the value of the instanceRigidBodies property.
106: *
107: * <p>
108: * This accessor method returns a reference to the live list,
109: * not a snapshot. Therefore any modification you make to the
110: * returned list will be present inside the JAXB object.
111: * This is why there is not a <CODE>set</CODE> method for the instanceRigidBodies property.
112: *
113: * <p>
114: * For example, to add a new item, do as follows:
115: * <pre>
116: * getInstanceRigidBodies().add(newItem);
117: * </pre>
118: *
119: *
120: * <p>
121: * Objects of the following type(s) are allowed in the list
122: * {@link InstanceRigidBody }
123: *
124: *
125: */
126: public List<InstanceRigidBody> getInstanceRigidBodies() {
127: if (instanceRigidBodies == null) {
128: instanceRigidBodies = new ArrayList<InstanceRigidBody>();
129: }
130: return this .instanceRigidBodies;
131: }
132:
133: /**
134: *
135: * The instance_physics_model element may instance any number of rigid_constraint elements.
136: * Gets the value of the instanceRigidConstraints property.
137: *
138: * <p>
139: * This accessor method returns a reference to the live list,
140: * not a snapshot. Therefore any modification you make to the
141: * returned list will be present inside the JAXB object.
142: * This is why there is not a <CODE>set</CODE> method for the instanceRigidConstraints property.
143: *
144: * <p>
145: * For example, to add a new item, do as follows:
146: * <pre>
147: * getInstanceRigidConstraints().add(newItem);
148: * </pre>
149: *
150: *
151: * <p>
152: * Objects of the following type(s) are allowed in the list
153: * {@link InstanceRigidConstraint }
154: *
155: *
156: */
157: public List<InstanceRigidConstraint> getInstanceRigidConstraints() {
158: if (instanceRigidConstraints == null) {
159: instanceRigidConstraints = new ArrayList<InstanceRigidConstraint>();
160: }
161: return this .instanceRigidConstraints;
162: }
163:
164: /**
165: *
166: * The extra element may appear any number of times.
167: * Gets the value of the extras property.
168: *
169: * <p>
170: * This accessor method returns a reference to the live list,
171: * not a snapshot. Therefore any modification you make to the
172: * returned list will be present inside the JAXB object.
173: * This is why there is not a <CODE>set</CODE> method for the extras property.
174: *
175: * <p>
176: * For example, to add a new item, do as follows:
177: * <pre>
178: * getExtras().add(newItem);
179: * </pre>
180: *
181: *
182: * <p>
183: * Objects of the following type(s) are allowed in the list
184: * {@link Extra }
185: *
186: *
187: */
188: public List<Extra> getExtras() {
189: if (extras == null) {
190: extras = new ArrayList<Extra>();
191: }
192: return this .extras;
193: }
194:
195: /**
196: * Gets the value of the name property.
197: *
198: * @return
199: * possible object is
200: * {@link String }
201: *
202: */
203: public String getName() {
204: return name;
205: }
206:
207: /**
208: * Sets the value of the name property.
209: *
210: * @param value
211: * allowed object is
212: * {@link String }
213: *
214: */
215: public void setName(String value) {
216: this .name = value;
217: }
218:
219: /**
220: * Gets the value of the parent property.
221: *
222: * @return
223: * possible object is
224: * {@link String }
225: *
226: */
227: public String getParent() {
228: return parent;
229: }
230:
231: /**
232: * Sets the value of the parent property.
233: *
234: * @param value
235: * allowed object is
236: * {@link String }
237: *
238: */
239: public void setParent(String value) {
240: this .parent = value;
241: }
242:
243: /**
244: * Gets the value of the sid property.
245: *
246: * @return
247: * possible object is
248: * {@link String }
249: *
250: */
251: public String getSid() {
252: return sid;
253: }
254:
255: /**
256: * Sets the value of the sid property.
257: *
258: * @param value
259: * allowed object is
260: * {@link String }
261: *
262: */
263: public void setSid(String value) {
264: this .sid = value;
265: }
266:
267: /**
268: * Gets the value of the url property.
269: *
270: * @return
271: * possible object is
272: * {@link String }
273: *
274: */
275: public String getUrl() {
276: return url;
277: }
278:
279: /**
280: * Sets the value of the url property.
281: *
282: * @param value
283: * allowed object is
284: * {@link String }
285: *
286: */
287: public void setUrl(String value) {
288: this.url = value;
289: }
290:
291: }
|