|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.PhysicsModel
public class PhysicsModel
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 ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rigid_body" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rigid_constraint" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_model" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Asset |
asset
|
protected List<Extra> |
extra
|
protected String |
id
|
protected List<InstancePhysicsModel> |
instancePhysicsModel
|
protected String |
name
|
protected List<RigidBody> |
rigidBody
|
protected List<RigidConstraint> |
rigidConstraint
|
| Constructor Summary | |
|---|---|
PhysicsModel()
|
|
| Method Summary | |
|---|---|
Asset |
getAsset()
The physics_model element may contain an asset element. |
List<Extra> |
getExtra()
The extra element may appear any number of times. |
String |
getId()
Gets the value of the id property. |
List<InstancePhysicsModel> |
getInstancePhysicsModel()
The physics_model may instance any number of other physics_model elements. |
String |
getName()
Gets the value of the name property. |
List<RigidBody> |
getRigidBody()
The physics_model may define any number of rigid_body elements. |
List<RigidConstraint> |
getRigidConstraint()
The physics_model may define any number of rigid_constraint elements. |
void |
setAsset(Asset value)
The physics_model element may contain an asset element. |
void |
setId(String value)
Sets the value of the id property. |
void |
setName(String value)
Sets the value of the name property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Asset asset
protected List<RigidBody> rigidBody
protected List<RigidConstraint> rigidConstraint
protected List<InstancePhysicsModel> instancePhysicsModel
protected List<Extra> extra
protected String id
protected String name
| Constructor Detail |
|---|
public PhysicsModel()
| Method Detail |
|---|
public Asset getAsset()
Assetpublic void setAsset(Asset value)
value - allowed object is
Assetpublic List<RigidBody> getRigidBody()
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 rigidBody property.
For example, to add a new item, do as follows:
getRigidBody().add(newItem);
Objects of the following type(s) are allowed in the list
RigidBody
public List<RigidConstraint> getRigidConstraint()
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 rigidConstraint property.
For example, to add a new item, do as follows:
getRigidConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
RigidConstraint
public List<InstancePhysicsModel> getInstancePhysicsModel()
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 instancePhysicsModel property.
For example, to add a new item, do as follows:
getInstancePhysicsModel().add(newItem);
Objects of the following type(s) are allowed in the list
InstancePhysicsModel
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 getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(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 | |||||||||