org.collada._2005._11.colladaschema
Class RigidBody

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

public class RigidBody
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="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">
                     <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="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class RigidBody.TechniqueCommon
          Java class for anonymous complex type.
 
Field Summary
protected  List<Extra> extra
           
protected  String name
           
protected  String sid
           
protected  List<Technique> technique
           
protected  RigidBody.TechniqueCommon techniqueCommon
           
 
Constructor Summary
RigidBody()
           
 
Method Summary
 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.
 List<Technique> getTechnique()
          This element may contain any number of non-common profile techniques.
 RigidBody.TechniqueCommon getTechniqueCommon()
          Gets the value of the techniqueCommon property.
 void setName(String value)
          Sets the value of the name property.
 void setSid(String value)
          Sets the value of the sid property.
 void setTechniqueCommon(RigidBody.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 RigidBody.TechniqueCommon techniqueCommon

technique

protected List<Technique> technique

extra

protected List<Extra> extra

name

protected String name

sid

protected String sid
Constructor Detail

RigidBody

public RigidBody()
Method Detail

getTechniqueCommon

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

Returns:
possible object is RigidBody.TechniqueCommon

setTechniqueCommon

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

Parameters:
value - allowed object is RigidBody.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


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

CroftSoft Javadoc

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