org.collada._2005._11.colladaschema
Class InstanceRigidBody

java.lang.Object
  extended by org.collada._2005._11.colladaschema.InstanceRigidBody

public class InstanceRigidBody
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="technique_common">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="angular_velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
                   <element name="velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
                   <element name="dynamic" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
                           <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                   <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                   <element name="mass_frame" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <choice maxOccurs="unbounded">
                             <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
                             <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
                           </choice>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="inertia" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
                   <choice minOccurs="0">
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
                   </choice>
                   <element name="shape" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="hollow" minOccurs="0">
                               <complexType>
                                 <simpleContent>
                                   <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
                                     <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                                   </extension>
                                 </simpleContent>
                               </complexType>
                             </element>
                             <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                             <element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                             <choice minOccurs="0">
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
                             </choice>
                             <choice>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
                             </choice>
                             <choice maxOccurs="unbounded" minOccurs="0">
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
                               <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
                             </choice>
                             <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="body" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class InstanceRigidBody.TechniqueCommon
          Java class for anonymous complex type.
 
Field Summary
protected  String body
           
protected  List<Extra> extra
           
protected  String name
           
protected  String sid
           
protected  String target
           
protected  List<Technique> technique
           
protected  InstanceRigidBody.TechniqueCommon techniqueCommon
           
 
Constructor Summary
InstanceRigidBody()
           
 
Method Summary
 String getBody()
          Gets the value of the body property.
 List<Extra> getExtra()
          The extra element may appear any number of times.
 String getName()
          Gets the value of the name property.
 String getSid()
          Gets the value of the sid property.
 String getTarget()
          Gets the value of the target property.
 List<Technique> getTechnique()
          This element may contain any number of non-common profile techniques.
 InstanceRigidBody.TechniqueCommon getTechniqueCommon()
          Gets the value of the techniqueCommon property.
 void setBody(String value)
          Sets the value of the body property.
 void setName(String value)
          Sets the value of the name property.
 void setSid(String value)
          Sets the value of the sid property.
 void setTarget(String value)
          Sets the value of the target property.
 void setTechniqueCommon(InstanceRigidBody.TechniqueCommon value)
          Sets the value of the techniqueCommon property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

techniqueCommon

protected InstanceRigidBody.TechniqueCommon techniqueCommon

technique

protected List<Technique> technique

extra

protected List<Extra> extra

body

protected String body

name

protected String name

sid

protected String sid

target

protected String target
Constructor Detail

InstanceRigidBody

public InstanceRigidBody()
Method Detail

getTechniqueCommon

public InstanceRigidBody.TechniqueCommon getTechniqueCommon()
Gets the value of the techniqueCommon property.

Returns:
possible object is InstanceRigidBody.TechniqueCommon

setTechniqueCommon

public void setTechniqueCommon(InstanceRigidBody.TechniqueCommon value)
Sets the value of the techniqueCommon property.

Parameters:
value - allowed object is InstanceRigidBody.TechniqueCommon

getTechnique

public List<Technique> getTechnique()
This element may contain any number of non-common profile techniques. Gets the value of the technique property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the technique property.

For example, to add a new item, do as follows:

    getTechnique().add(newItem);
 

Objects of the following type(s) are allowed in the list Technique


getExtra

public List<Extra> getExtra()
The extra element may appear any number of times. Gets the value of the extra property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extra property.

For example, to add a new item, do as follows:

    getExtra().add(newItem);
 

Objects of the following type(s) are allowed in the list Extra


getBody

public String getBody()
Gets the value of the body property.

Returns:
possible object is String

setBody

public void setBody(String value)
Sets the value of the body property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getSid

public String getSid()
Gets the value of the sid property.

Returns:
possible object is String

setSid

public void setSid(String value)
Sets the value of the sid property.

Parameters:
value - allowed object is String

getTarget

public String getTarget()
Gets the value of the target property.

Returns:
possible object is String

setTarget

public void setTarget(String value)
Sets the value of the target property.

Parameters:
value - allowed object is String

CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)