0001: //
0002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
0003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
0004: // Any modifications to this file will be lost upon recompilation of the source schema.
0005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
0006: //
0007:
0008: package org.collada.colladaschema;
0009:
0010: import java.util.ArrayList;
0011: import java.util.List;
0012: import javax.xml.bind.annotation.XmlAccessType;
0013: import javax.xml.bind.annotation.XmlAccessorType;
0014: import javax.xml.bind.annotation.XmlAttribute;
0015: import javax.xml.bind.annotation.XmlElement;
0016: import javax.xml.bind.annotation.XmlElements;
0017: import javax.xml.bind.annotation.XmlList;
0018: import javax.xml.bind.annotation.XmlRootElement;
0019: import javax.xml.bind.annotation.XmlType;
0020: import javax.xml.bind.annotation.XmlValue;
0021: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
0022: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
0023:
0024: /**
0025: * <p>Java class for anonymous complex type.
0026: *
0027: * <p>The following schema fragment specifies the expected content contained within this class.
0028: *
0029: * <pre>
0030: * <complexType>
0031: * <complexContent>
0032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0033: * <sequence>
0034: * <element name="technique_common">
0035: * <complexType>
0036: * <complexContent>
0037: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0038: * <sequence>
0039: * <element name="angular_velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
0040: * <element name="velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
0041: * <element name="dynamic" minOccurs="0">
0042: * <complexType>
0043: * <simpleContent>
0044: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0045: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0046: * </extension>
0047: * </simpleContent>
0048: * </complexType>
0049: * </element>
0050: * <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0051: * <element name="mass_frame" minOccurs="0">
0052: * <complexType>
0053: * <complexContent>
0054: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0055: * <choice maxOccurs="unbounded">
0056: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0057: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0058: * </choice>
0059: * </restriction>
0060: * </complexContent>
0061: * </complexType>
0062: * </element>
0063: * <element name="inertia" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
0064: * <choice minOccurs="0">
0065: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
0066: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
0067: * </choice>
0068: * <element name="shape" maxOccurs="unbounded" minOccurs="0">
0069: * <complexType>
0070: * <complexContent>
0071: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0072: * <sequence>
0073: * <element name="hollow" minOccurs="0">
0074: * <complexType>
0075: * <simpleContent>
0076: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0077: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0078: * </extension>
0079: * </simpleContent>
0080: * </complexType>
0081: * </element>
0082: * <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0083: * <element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0084: * <choice minOccurs="0">
0085: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
0086: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
0087: * </choice>
0088: * <choice>
0089: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
0090: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
0091: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
0092: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
0093: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
0094: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
0095: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
0096: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
0097: * </choice>
0098: * <choice maxOccurs="unbounded" minOccurs="0">
0099: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0100: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0101: * </choice>
0102: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0103: * </sequence>
0104: * </restriction>
0105: * </complexContent>
0106: * </complexType>
0107: * </element>
0108: * </sequence>
0109: * </restriction>
0110: * </complexContent>
0111: * </complexType>
0112: * </element>
0113: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
0114: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0115: * </sequence>
0116: * <attribute name="body" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0117: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0118: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0119: * <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
0120: * </restriction>
0121: * </complexContent>
0122: * </complexType>
0123: * </pre>
0124: *
0125: *
0126: */
0127: @XmlAccessorType(XmlAccessType.FIELD)
0128: @XmlType(name="",propOrder={"techniqueCommon","techniques","extras"})
0129: @XmlRootElement(name="instance_rigid_body")
0130: public class InstanceRigidBody {
0131:
0132: @XmlElement(name="technique_common",required=true)
0133: protected InstanceRigidBody.TechniqueCommon techniqueCommon;
0134: @XmlElement(name="technique")
0135: protected List<Technique> techniques;
0136: @XmlElement(name="extra")
0137: protected List<Extra> extras;
0138: @XmlAttribute(required=true)
0139: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0140: protected String body;
0141: @XmlAttribute
0142: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0143: protected String name;
0144: @XmlAttribute
0145: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0146: protected String sid;
0147: @XmlAttribute(required=true)
0148: protected String target;
0149:
0150: /**
0151: * Gets the value of the techniqueCommon property.
0152: *
0153: * @return
0154: * possible object is
0155: * {@link InstanceRigidBody.TechniqueCommon }
0156: *
0157: */
0158: public InstanceRigidBody.TechniqueCommon getTechniqueCommon() {
0159: return techniqueCommon;
0160: }
0161:
0162: /**
0163: * Sets the value of the techniqueCommon property.
0164: *
0165: * @param value
0166: * allowed object is
0167: * {@link InstanceRigidBody.TechniqueCommon }
0168: *
0169: */
0170: public void setTechniqueCommon(
0171: InstanceRigidBody.TechniqueCommon value) {
0172: this .techniqueCommon = value;
0173: }
0174:
0175: /**
0176: *
0177: * This element may contain any number of non-common profile techniques.
0178: * Gets the value of the techniques property.
0179: *
0180: * <p>
0181: * This accessor method returns a reference to the live list,
0182: * not a snapshot. Therefore any modification you make to the
0183: * returned list will be present inside the JAXB object.
0184: * This is why there is not a <CODE>set</CODE> method for the techniques property.
0185: *
0186: * <p>
0187: * For example, to add a new item, do as follows:
0188: * <pre>
0189: * getTechniques().add(newItem);
0190: * </pre>
0191: *
0192: *
0193: * <p>
0194: * Objects of the following type(s) are allowed in the list
0195: * {@link Technique }
0196: *
0197: *
0198: */
0199: public List<Technique> getTechniques() {
0200: if (techniques == null) {
0201: techniques = new ArrayList<Technique>();
0202: }
0203: return this .techniques;
0204: }
0205:
0206: /**
0207: *
0208: * The extra element may appear any number of times.
0209: * Gets the value of the extras property.
0210: *
0211: * <p>
0212: * This accessor method returns a reference to the live list,
0213: * not a snapshot. Therefore any modification you make to the
0214: * returned list will be present inside the JAXB object.
0215: * This is why there is not a <CODE>set</CODE> method for the extras property.
0216: *
0217: * <p>
0218: * For example, to add a new item, do as follows:
0219: * <pre>
0220: * getExtras().add(newItem);
0221: * </pre>
0222: *
0223: *
0224: * <p>
0225: * Objects of the following type(s) are allowed in the list
0226: * {@link Extra }
0227: *
0228: *
0229: */
0230: public List<Extra> getExtras() {
0231: if (extras == null) {
0232: extras = new ArrayList<Extra>();
0233: }
0234: return this .extras;
0235: }
0236:
0237: /**
0238: * Gets the value of the body property.
0239: *
0240: * @return
0241: * possible object is
0242: * {@link String }
0243: *
0244: */
0245: public String getBody() {
0246: return body;
0247: }
0248:
0249: /**
0250: * Sets the value of the body property.
0251: *
0252: * @param value
0253: * allowed object is
0254: * {@link String }
0255: *
0256: */
0257: public void setBody(String value) {
0258: this .body = value;
0259: }
0260:
0261: /**
0262: * Gets the value of the name property.
0263: *
0264: * @return
0265: * possible object is
0266: * {@link String }
0267: *
0268: */
0269: public String getName() {
0270: return name;
0271: }
0272:
0273: /**
0274: * Sets the value of the name property.
0275: *
0276: * @param value
0277: * allowed object is
0278: * {@link String }
0279: *
0280: */
0281: public void setName(String value) {
0282: this .name = value;
0283: }
0284:
0285: /**
0286: * Gets the value of the sid property.
0287: *
0288: * @return
0289: * possible object is
0290: * {@link String }
0291: *
0292: */
0293: public String getSid() {
0294: return sid;
0295: }
0296:
0297: /**
0298: * Sets the value of the sid property.
0299: *
0300: * @param value
0301: * allowed object is
0302: * {@link String }
0303: *
0304: */
0305: public void setSid(String value) {
0306: this .sid = value;
0307: }
0308:
0309: /**
0310: * Gets the value of the target property.
0311: *
0312: * @return
0313: * possible object is
0314: * {@link String }
0315: *
0316: */
0317: public String getTarget() {
0318: return target;
0319: }
0320:
0321: /**
0322: * Sets the value of the target property.
0323: *
0324: * @param value
0325: * allowed object is
0326: * {@link String }
0327: *
0328: */
0329: public void setTarget(String value) {
0330: this .target = value;
0331: }
0332:
0333: /**
0334: * <p>Java class for anonymous complex type.
0335: *
0336: * <p>The following schema fragment specifies the expected content contained within this class.
0337: *
0338: * <pre>
0339: * <complexType>
0340: * <complexContent>
0341: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0342: * <sequence>
0343: * <element name="angular_velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
0344: * <element name="velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
0345: * <element name="dynamic" minOccurs="0">
0346: * <complexType>
0347: * <simpleContent>
0348: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0349: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0350: * </extension>
0351: * </simpleContent>
0352: * </complexType>
0353: * </element>
0354: * <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0355: * <element name="mass_frame" minOccurs="0">
0356: * <complexType>
0357: * <complexContent>
0358: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0359: * <choice maxOccurs="unbounded">
0360: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0361: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0362: * </choice>
0363: * </restriction>
0364: * </complexContent>
0365: * </complexType>
0366: * </element>
0367: * <element name="inertia" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
0368: * <choice minOccurs="0">
0369: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
0370: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
0371: * </choice>
0372: * <element name="shape" maxOccurs="unbounded" minOccurs="0">
0373: * <complexType>
0374: * <complexContent>
0375: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0376: * <sequence>
0377: * <element name="hollow" minOccurs="0">
0378: * <complexType>
0379: * <simpleContent>
0380: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0381: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0382: * </extension>
0383: * </simpleContent>
0384: * </complexType>
0385: * </element>
0386: * <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0387: * <element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0388: * <choice minOccurs="0">
0389: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
0390: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
0391: * </choice>
0392: * <choice>
0393: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
0394: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
0395: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
0396: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
0397: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
0398: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
0399: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
0400: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
0401: * </choice>
0402: * <choice maxOccurs="unbounded" minOccurs="0">
0403: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0404: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0405: * </choice>
0406: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0407: * </sequence>
0408: * </restriction>
0409: * </complexContent>
0410: * </complexType>
0411: * </element>
0412: * </sequence>
0413: * </restriction>
0414: * </complexContent>
0415: * </complexType>
0416: * </pre>
0417: *
0418: *
0419: */
0420: @XmlAccessorType(XmlAccessType.FIELD)
0421: @XmlType(name="",propOrder={"angularVelocity","velocity","dynamic","mass","massFrame","inertia","physicsMaterial","instancePhysicsMaterial","shapes"})
0422: public static class TechniqueCommon {
0423:
0424: @XmlList
0425: @XmlElement(name="angular_velocity",type=Double.class,defaultValue="0.0 0.0 0.0")
0426: protected List<Double> angularVelocity;
0427: @XmlList
0428: @XmlElement(type=Double.class,defaultValue="0.0 0.0 0.0")
0429: protected List<Double> velocity;
0430: protected InstanceRigidBody.TechniqueCommon.Dynamic dynamic;
0431: protected TargetableFloat mass;
0432: @XmlElement(name="mass_frame")
0433: protected InstanceRigidBody.TechniqueCommon.MassFrame massFrame;
0434: protected TargetableFloat3 inertia;
0435: @XmlElement(name="physics_material")
0436: protected PhysicsMaterial physicsMaterial;
0437: @XmlElement(name="instance_physics_material")
0438: protected InstanceWithExtra instancePhysicsMaterial;
0439: @XmlElement(name="shape")
0440: protected List<InstanceRigidBody.TechniqueCommon.Shape> shapes;
0441:
0442: /**
0443: * Gets the value of the angularVelocity property.
0444: *
0445: * <p>
0446: * This accessor method returns a reference to the live list,
0447: * not a snapshot. Therefore any modification you make to the
0448: * returned list will be present inside the JAXB object.
0449: * This is why there is not a <CODE>set</CODE> method for the angularVelocity property.
0450: *
0451: * <p>
0452: * For example, to add a new item, do as follows:
0453: * <pre>
0454: * getAngularVelocity().add(newItem);
0455: * </pre>
0456: *
0457: *
0458: * <p>
0459: * Objects of the following type(s) are allowed in the list
0460: * {@link Double }
0461: *
0462: *
0463: */
0464: public List<Double> getAngularVelocity() {
0465: if (angularVelocity == null) {
0466: angularVelocity = new ArrayList<Double>();
0467: }
0468: return this .angularVelocity;
0469: }
0470:
0471: /**
0472: * Gets the value of the velocity property.
0473: *
0474: * <p>
0475: * This accessor method returns a reference to the live list,
0476: * not a snapshot. Therefore any modification you make to the
0477: * returned list will be present inside the JAXB object.
0478: * This is why there is not a <CODE>set</CODE> method for the velocity property.
0479: *
0480: * <p>
0481: * For example, to add a new item, do as follows:
0482: * <pre>
0483: * getVelocity().add(newItem);
0484: * </pre>
0485: *
0486: *
0487: * <p>
0488: * Objects of the following type(s) are allowed in the list
0489: * {@link Double }
0490: *
0491: *
0492: */
0493: public List<Double> getVelocity() {
0494: if (velocity == null) {
0495: velocity = new ArrayList<Double>();
0496: }
0497: return this .velocity;
0498: }
0499:
0500: /**
0501: * Gets the value of the dynamic property.
0502: *
0503: * @return
0504: * possible object is
0505: * {@link InstanceRigidBody.TechniqueCommon.Dynamic }
0506: *
0507: */
0508: public InstanceRigidBody.TechniqueCommon.Dynamic getDynamic() {
0509: return dynamic;
0510: }
0511:
0512: /**
0513: * Sets the value of the dynamic property.
0514: *
0515: * @param value
0516: * allowed object is
0517: * {@link InstanceRigidBody.TechniqueCommon.Dynamic }
0518: *
0519: */
0520: public void setDynamic(
0521: InstanceRigidBody.TechniqueCommon.Dynamic value) {
0522: this .dynamic = value;
0523: }
0524:
0525: /**
0526: * Gets the value of the mass property.
0527: *
0528: * @return
0529: * possible object is
0530: * {@link TargetableFloat }
0531: *
0532: */
0533: public TargetableFloat getMass() {
0534: return mass;
0535: }
0536:
0537: /**
0538: * Sets the value of the mass property.
0539: *
0540: * @param value
0541: * allowed object is
0542: * {@link TargetableFloat }
0543: *
0544: */
0545: public void setMass(TargetableFloat value) {
0546: this .mass = value;
0547: }
0548:
0549: /**
0550: * Gets the value of the massFrame property.
0551: *
0552: * @return
0553: * possible object is
0554: * {@link InstanceRigidBody.TechniqueCommon.MassFrame }
0555: *
0556: */
0557: public InstanceRigidBody.TechniqueCommon.MassFrame getMassFrame() {
0558: return massFrame;
0559: }
0560:
0561: /**
0562: * Sets the value of the massFrame property.
0563: *
0564: * @param value
0565: * allowed object is
0566: * {@link InstanceRigidBody.TechniqueCommon.MassFrame }
0567: *
0568: */
0569: public void setMassFrame(
0570: InstanceRigidBody.TechniqueCommon.MassFrame value) {
0571: this .massFrame = value;
0572: }
0573:
0574: /**
0575: * Gets the value of the inertia property.
0576: *
0577: * @return
0578: * possible object is
0579: * {@link TargetableFloat3 }
0580: *
0581: */
0582: public TargetableFloat3 getInertia() {
0583: return inertia;
0584: }
0585:
0586: /**
0587: * Sets the value of the inertia property.
0588: *
0589: * @param value
0590: * allowed object is
0591: * {@link TargetableFloat3 }
0592: *
0593: */
0594: public void setInertia(TargetableFloat3 value) {
0595: this .inertia = value;
0596: }
0597:
0598: /**
0599: * Gets the value of the physicsMaterial property.
0600: *
0601: * @return
0602: * possible object is
0603: * {@link PhysicsMaterial }
0604: *
0605: */
0606: public PhysicsMaterial getPhysicsMaterial() {
0607: return physicsMaterial;
0608: }
0609:
0610: /**
0611: * Sets the value of the physicsMaterial property.
0612: *
0613: * @param value
0614: * allowed object is
0615: * {@link PhysicsMaterial }
0616: *
0617: */
0618: public void setPhysicsMaterial(PhysicsMaterial value) {
0619: this .physicsMaterial = value;
0620: }
0621:
0622: /**
0623: * Gets the value of the instancePhysicsMaterial property.
0624: *
0625: * @return
0626: * possible object is
0627: * {@link InstanceWithExtra }
0628: *
0629: */
0630: public InstanceWithExtra getInstancePhysicsMaterial() {
0631: return instancePhysicsMaterial;
0632: }
0633:
0634: /**
0635: * Sets the value of the instancePhysicsMaterial property.
0636: *
0637: * @param value
0638: * allowed object is
0639: * {@link InstanceWithExtra }
0640: *
0641: */
0642: public void setInstancePhysicsMaterial(InstanceWithExtra value) {
0643: this .instancePhysicsMaterial = value;
0644: }
0645:
0646: /**
0647: * Gets the value of the shapes property.
0648: *
0649: * <p>
0650: * This accessor method returns a reference to the live list,
0651: * not a snapshot. Therefore any modification you make to the
0652: * returned list will be present inside the JAXB object.
0653: * This is why there is not a <CODE>set</CODE> method for the shapes property.
0654: *
0655: * <p>
0656: * For example, to add a new item, do as follows:
0657: * <pre>
0658: * getShapes().add(newItem);
0659: * </pre>
0660: *
0661: *
0662: * <p>
0663: * Objects of the following type(s) are allowed in the list
0664: * {@link InstanceRigidBody.TechniqueCommon.Shape }
0665: *
0666: *
0667: */
0668: public List<InstanceRigidBody.TechniqueCommon.Shape> getShapes() {
0669: if (shapes == null) {
0670: shapes = new ArrayList<InstanceRigidBody.TechniqueCommon.Shape>();
0671: }
0672: return this .shapes;
0673: }
0674:
0675: /**
0676: * <p>Java class for anonymous complex type.
0677: *
0678: * <p>The following schema fragment specifies the expected content contained within this class.
0679: *
0680: * <pre>
0681: * <complexType>
0682: * <simpleContent>
0683: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0684: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0685: * </extension>
0686: * </simpleContent>
0687: * </complexType>
0688: * </pre>
0689: *
0690: *
0691: */
0692: @XmlAccessorType(XmlAccessType.FIELD)
0693: @XmlType(name="",propOrder={"value"})
0694: public static class Dynamic {
0695:
0696: @XmlValue
0697: protected boolean value;
0698: @XmlAttribute
0699: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0700: protected String sid;
0701:
0702: /**
0703: * Gets the value of the value property.
0704: *
0705: */
0706: public boolean isValue() {
0707: return value;
0708: }
0709:
0710: /**
0711: * Sets the value of the value property.
0712: *
0713: */
0714: public void setValue(boolean value) {
0715: this .value = value;
0716: }
0717:
0718: /**
0719: * Gets the value of the sid property.
0720: *
0721: * @return
0722: * possible object is
0723: * {@link String }
0724: *
0725: */
0726: public String getSid() {
0727: return sid;
0728: }
0729:
0730: /**
0731: * Sets the value of the sid property.
0732: *
0733: * @param value
0734: * allowed object is
0735: * {@link String }
0736: *
0737: */
0738: public void setSid(String value) {
0739: this .sid = value;
0740: }
0741:
0742: }
0743:
0744: /**
0745: * <p>Java class for anonymous complex type.
0746: *
0747: * <p>The following schema fragment specifies the expected content contained within this class.
0748: *
0749: * <pre>
0750: * <complexType>
0751: * <complexContent>
0752: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0753: * <choice maxOccurs="unbounded">
0754: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0755: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0756: * </choice>
0757: * </restriction>
0758: * </complexContent>
0759: * </complexType>
0760: * </pre>
0761: *
0762: *
0763: */
0764: @XmlAccessorType(XmlAccessType.FIELD)
0765: @XmlType(name="",propOrder={"translatesAndRotates"})
0766: public static class MassFrame {
0767:
0768: @XmlElements({@XmlElement(name="rotate",type=Rotate.class),@XmlElement(name="translate",type=TargetableFloat3.class)})
0769: protected List<Object> translatesAndRotates;
0770:
0771: /**
0772: * Gets the value of the translatesAndRotates property.
0773: *
0774: * <p>
0775: * This accessor method returns a reference to the live list,
0776: * not a snapshot. Therefore any modification you make to the
0777: * returned list will be present inside the JAXB object.
0778: * This is why there is not a <CODE>set</CODE> method for the translatesAndRotates property.
0779: *
0780: * <p>
0781: * For example, to add a new item, do as follows:
0782: * <pre>
0783: * getTranslatesAndRotates().add(newItem);
0784: * </pre>
0785: *
0786: *
0787: * <p>
0788: * Objects of the following type(s) are allowed in the list
0789: * {@link Rotate }
0790: * {@link TargetableFloat3 }
0791: *
0792: *
0793: */
0794: public List<Object> getTranslatesAndRotates() {
0795: if (translatesAndRotates == null) {
0796: translatesAndRotates = new ArrayList<Object>();
0797: }
0798: return this .translatesAndRotates;
0799: }
0800:
0801: }
0802:
0803: /**
0804: * <p>Java class for anonymous complex type.
0805: *
0806: * <p>The following schema fragment specifies the expected content contained within this class.
0807: *
0808: * <pre>
0809: * <complexType>
0810: * <complexContent>
0811: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0812: * <sequence>
0813: * <element name="hollow" minOccurs="0">
0814: * <complexType>
0815: * <simpleContent>
0816: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
0817: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0818: * </extension>
0819: * </simpleContent>
0820: * </complexType>
0821: * </element>
0822: * <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0823: * <element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
0824: * <choice minOccurs="0">
0825: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
0826: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
0827: * </choice>
0828: * <choice>
0829: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
0830: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
0831: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
0832: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
0833: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
0834: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
0835: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
0836: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
0837: * </choice>
0838: * <choice maxOccurs="unbounded" minOccurs="0">
0839: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
0840: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
0841: * </choice>
0842: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0843: * </sequence>
0844: * </restriction>
0845: * </complexContent>
0846: * </complexType>
0847: * </pre>
0848: *
0849: *
0850: */
0851: @XmlAccessorType(XmlAccessType.FIELD)
0852: @XmlType(name="",propOrder={"hollow","mass","density","physicsMaterial","instancePhysicsMaterial","instanceGeometry","taperedCylinder","box","plane","cylinder","taperedCapsule","sphere","capsule","translatesAndRotates","extras"})
0853: public static class Shape {
0854:
0855: protected InstanceRigidBody.TechniqueCommon.Shape.Hollow hollow;
0856: protected TargetableFloat mass;
0857: protected TargetableFloat density;
0858: @XmlElement(name="physics_material")
0859: protected PhysicsMaterial physicsMaterial;
0860: @XmlElement(name="instance_physics_material")
0861: protected InstanceWithExtra instancePhysicsMaterial;
0862: @XmlElement(name="instance_geometry")
0863: protected InstanceGeometry instanceGeometry;
0864: @XmlElement(name="tapered_cylinder")
0865: protected TaperedCylinder taperedCylinder;
0866: protected Box box;
0867: protected Plane plane;
0868: protected Cylinder cylinder;
0869: @XmlElement(name="tapered_capsule")
0870: protected TaperedCapsule taperedCapsule;
0871: protected Sphere sphere;
0872: protected Capsule capsule;
0873: @XmlElements({@XmlElement(name="translate",type=TargetableFloat3.class),@XmlElement(name="rotate",type=Rotate.class)})
0874: protected List<Object> translatesAndRotates;
0875: @XmlElement(name="extra")
0876: protected List<Extra> extras;
0877:
0878: /**
0879: * Gets the value of the hollow property.
0880: *
0881: * @return
0882: * possible object is
0883: * {@link InstanceRigidBody.TechniqueCommon.Shape.Hollow }
0884: *
0885: */
0886: public InstanceRigidBody.TechniqueCommon.Shape.Hollow getHollow() {
0887: return hollow;
0888: }
0889:
0890: /**
0891: * Sets the value of the hollow property.
0892: *
0893: * @param value
0894: * allowed object is
0895: * {@link InstanceRigidBody.TechniqueCommon.Shape.Hollow }
0896: *
0897: */
0898: public void setHollow(
0899: InstanceRigidBody.TechniqueCommon.Shape.Hollow value) {
0900: this .hollow = value;
0901: }
0902:
0903: /**
0904: * Gets the value of the mass property.
0905: *
0906: * @return
0907: * possible object is
0908: * {@link TargetableFloat }
0909: *
0910: */
0911: public TargetableFloat getMass() {
0912: return mass;
0913: }
0914:
0915: /**
0916: * Sets the value of the mass property.
0917: *
0918: * @param value
0919: * allowed object is
0920: * {@link TargetableFloat }
0921: *
0922: */
0923: public void setMass(TargetableFloat value) {
0924: this .mass = value;
0925: }
0926:
0927: /**
0928: * Gets the value of the density property.
0929: *
0930: * @return
0931: * possible object is
0932: * {@link TargetableFloat }
0933: *
0934: */
0935: public TargetableFloat getDensity() {
0936: return density;
0937: }
0938:
0939: /**
0940: * Sets the value of the density property.
0941: *
0942: * @param value
0943: * allowed object is
0944: * {@link TargetableFloat }
0945: *
0946: */
0947: public void setDensity(TargetableFloat value) {
0948: this .density = value;
0949: }
0950:
0951: /**
0952: * Gets the value of the physicsMaterial property.
0953: *
0954: * @return
0955: * possible object is
0956: * {@link PhysicsMaterial }
0957: *
0958: */
0959: public PhysicsMaterial getPhysicsMaterial() {
0960: return physicsMaterial;
0961: }
0962:
0963: /**
0964: * Sets the value of the physicsMaterial property.
0965: *
0966: * @param value
0967: * allowed object is
0968: * {@link PhysicsMaterial }
0969: *
0970: */
0971: public void setPhysicsMaterial(PhysicsMaterial value) {
0972: this .physicsMaterial = value;
0973: }
0974:
0975: /**
0976: * Gets the value of the instancePhysicsMaterial property.
0977: *
0978: * @return
0979: * possible object is
0980: * {@link InstanceWithExtra }
0981: *
0982: */
0983: public InstanceWithExtra getInstancePhysicsMaterial() {
0984: return instancePhysicsMaterial;
0985: }
0986:
0987: /**
0988: * Sets the value of the instancePhysicsMaterial property.
0989: *
0990: * @param value
0991: * allowed object is
0992: * {@link InstanceWithExtra }
0993: *
0994: */
0995: public void setInstancePhysicsMaterial(
0996: InstanceWithExtra value) {
0997: this .instancePhysicsMaterial = value;
0998: }
0999:
1000: /**
1001: * Gets the value of the instanceGeometry property.
1002: *
1003: * @return
1004: * possible object is
1005: * {@link InstanceGeometry }
1006: *
1007: */
1008: public InstanceGeometry getInstanceGeometry() {
1009: return instanceGeometry;
1010: }
1011:
1012: /**
1013: * Sets the value of the instanceGeometry property.
1014: *
1015: * @param value
1016: * allowed object is
1017: * {@link InstanceGeometry }
1018: *
1019: */
1020: public void setInstanceGeometry(InstanceGeometry value) {
1021: this .instanceGeometry = value;
1022: }
1023:
1024: /**
1025: * Gets the value of the taperedCylinder property.
1026: *
1027: * @return
1028: * possible object is
1029: * {@link TaperedCylinder }
1030: *
1031: */
1032: public TaperedCylinder getTaperedCylinder() {
1033: return taperedCylinder;
1034: }
1035:
1036: /**
1037: * Sets the value of the taperedCylinder property.
1038: *
1039: * @param value
1040: * allowed object is
1041: * {@link TaperedCylinder }
1042: *
1043: */
1044: public void setTaperedCylinder(TaperedCylinder value) {
1045: this .taperedCylinder = value;
1046: }
1047:
1048: /**
1049: * Gets the value of the box property.
1050: *
1051: * @return
1052: * possible object is
1053: * {@link Box }
1054: *
1055: */
1056: public Box getBox() {
1057: return box;
1058: }
1059:
1060: /**
1061: * Sets the value of the box property.
1062: *
1063: * @param value
1064: * allowed object is
1065: * {@link Box }
1066: *
1067: */
1068: public void setBox(Box value) {
1069: this .box = value;
1070: }
1071:
1072: /**
1073: * Gets the value of the plane property.
1074: *
1075: * @return
1076: * possible object is
1077: * {@link Plane }
1078: *
1079: */
1080: public Plane getPlane() {
1081: return plane;
1082: }
1083:
1084: /**
1085: * Sets the value of the plane property.
1086: *
1087: * @param value
1088: * allowed object is
1089: * {@link Plane }
1090: *
1091: */
1092: public void setPlane(Plane value) {
1093: this .plane = value;
1094: }
1095:
1096: /**
1097: * Gets the value of the cylinder property.
1098: *
1099: * @return
1100: * possible object is
1101: * {@link Cylinder }
1102: *
1103: */
1104: public Cylinder getCylinder() {
1105: return cylinder;
1106: }
1107:
1108: /**
1109: * Sets the value of the cylinder property.
1110: *
1111: * @param value
1112: * allowed object is
1113: * {@link Cylinder }
1114: *
1115: */
1116: public void setCylinder(Cylinder value) {
1117: this .cylinder = value;
1118: }
1119:
1120: /**
1121: * Gets the value of the taperedCapsule property.
1122: *
1123: * @return
1124: * possible object is
1125: * {@link TaperedCapsule }
1126: *
1127: */
1128: public TaperedCapsule getTaperedCapsule() {
1129: return taperedCapsule;
1130: }
1131:
1132: /**
1133: * Sets the value of the taperedCapsule property.
1134: *
1135: * @param value
1136: * allowed object is
1137: * {@link TaperedCapsule }
1138: *
1139: */
1140: public void setTaperedCapsule(TaperedCapsule value) {
1141: this .taperedCapsule = value;
1142: }
1143:
1144: /**
1145: * Gets the value of the sphere property.
1146: *
1147: * @return
1148: * possible object is
1149: * {@link Sphere }
1150: *
1151: */
1152: public Sphere getSphere() {
1153: return sphere;
1154: }
1155:
1156: /**
1157: * Sets the value of the sphere property.
1158: *
1159: * @param value
1160: * allowed object is
1161: * {@link Sphere }
1162: *
1163: */
1164: public void setSphere(Sphere value) {
1165: this .sphere = value;
1166: }
1167:
1168: /**
1169: * Gets the value of the capsule property.
1170: *
1171: * @return
1172: * possible object is
1173: * {@link Capsule }
1174: *
1175: */
1176: public Capsule getCapsule() {
1177: return capsule;
1178: }
1179:
1180: /**
1181: * Sets the value of the capsule property.
1182: *
1183: * @param value
1184: * allowed object is
1185: * {@link Capsule }
1186: *
1187: */
1188: public void setCapsule(Capsule value) {
1189: this .capsule = value;
1190: }
1191:
1192: /**
1193: * Gets the value of the translatesAndRotates property.
1194: *
1195: * <p>
1196: * This accessor method returns a reference to the live list,
1197: * not a snapshot. Therefore any modification you make to the
1198: * returned list will be present inside the JAXB object.
1199: * This is why there is not a <CODE>set</CODE> method for the translatesAndRotates property.
1200: *
1201: * <p>
1202: * For example, to add a new item, do as follows:
1203: * <pre>
1204: * getTranslatesAndRotates().add(newItem);
1205: * </pre>
1206: *
1207: *
1208: * <p>
1209: * Objects of the following type(s) are allowed in the list
1210: * {@link TargetableFloat3 }
1211: * {@link Rotate }
1212: *
1213: *
1214: */
1215: public List<Object> getTranslatesAndRotates() {
1216: if (translatesAndRotates == null) {
1217: translatesAndRotates = new ArrayList<Object>();
1218: }
1219: return this .translatesAndRotates;
1220: }
1221:
1222: /**
1223: *
1224: * The extra element may appear any number of times.
1225: * Gets the value of the extras property.
1226: *
1227: * <p>
1228: * This accessor method returns a reference to the live list,
1229: * not a snapshot. Therefore any modification you make to the
1230: * returned list will be present inside the JAXB object.
1231: * This is why there is not a <CODE>set</CODE> method for the extras property.
1232: *
1233: * <p>
1234: * For example, to add a new item, do as follows:
1235: * <pre>
1236: * getExtras().add(newItem);
1237: * </pre>
1238: *
1239: *
1240: * <p>
1241: * Objects of the following type(s) are allowed in the list
1242: * {@link Extra }
1243: *
1244: *
1245: */
1246: public List<Extra> getExtras() {
1247: if (extras == null) {
1248: extras = new ArrayList<Extra>();
1249: }
1250: return this .extras;
1251: }
1252:
1253: /**
1254: * <p>Java class for anonymous complex type.
1255: *
1256: * <p>The following schema fragment specifies the expected content contained within this class.
1257: *
1258: * <pre>
1259: * <complexType>
1260: * <simpleContent>
1261: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
1262: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
1263: * </extension>
1264: * </simpleContent>
1265: * </complexType>
1266: * </pre>
1267: *
1268: *
1269: */
1270: @XmlAccessorType(XmlAccessType.FIELD)
1271: @XmlType(name="",propOrder={"value"})
1272: public static class Hollow {
1273:
1274: @XmlValue
1275: protected boolean value;
1276: @XmlAttribute
1277: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
1278: protected String sid;
1279:
1280: /**
1281: * Gets the value of the value property.
1282: *
1283: */
1284: public boolean isValue() {
1285: return value;
1286: }
1287:
1288: /**
1289: * Sets the value of the value property.
1290: *
1291: */
1292: public void setValue(boolean value) {
1293: this .value = value;
1294: }
1295:
1296: /**
1297: * Gets the value of the sid property.
1298: *
1299: * @return
1300: * possible object is
1301: * {@link String }
1302: *
1303: */
1304: public String getSid() {
1305: return sid;
1306: }
1307:
1308: /**
1309: * Sets the value of the sid property.
1310: *
1311: * @param value
1312: * allowed object is
1313: * {@link String }
1314: *
1315: */
1316: public void setSid(String value) {
1317: this.sid = value;
1318: }
1319:
1320: }
1321:
1322: }
1323:
1324: }
1325:
1326: }
|