|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.RigidBody
public class RigidBody
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 |
|---|
protected RigidBody.TechniqueCommon techniqueCommon
protected List<Technique> technique
protected List<Extra> extra
protected String name
protected String sid
| Constructor Detail |
|---|
public RigidBody()
| Method Detail |
|---|
public RigidBody.TechniqueCommon getTechniqueCommon()
RigidBody.TechniqueCommonpublic void setTechniqueCommon(RigidBody.TechniqueCommon value)
value - allowed object is
RigidBody.TechniqueCommonpublic List<Technique> getTechnique()
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
public List<Extra> getExtra()
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
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getSid()
Stringpublic void setSid(String value)
value - allowed object is
String
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||