org.collada._2005._11.colladaschema
Class PhysicsScene

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

public class PhysicsScene
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 ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_force_field" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_model" maxOccurs="unbounded" minOccurs="0"/>
         <element name="technique_common">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="gravity" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
                   <element name="time_step" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                 </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="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class PhysicsScene.TechniqueCommon
          Java class for anonymous complex type.
 
Field Summary
protected  Asset asset
           
protected  List<Extra> extra
           
protected  String id
           
protected  List<InstanceWithExtra> instanceForceField
           
protected  List<InstancePhysicsModel> instancePhysicsModel
           
protected  String name
           
protected  List<Technique> technique
           
protected  PhysicsScene.TechniqueCommon techniqueCommon
           
 
Constructor Summary
PhysicsScene()
           
 
Method Summary
 Asset getAsset()
          The physics_scene 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<InstanceWithExtra> getInstanceForceField()
          There may be any number of instance_force_field elements.
 List<InstancePhysicsModel> getInstancePhysicsModel()
          There may be any number of instance_physics_model elements.
 String getName()
          Gets the value of the name property.
 List<Technique> getTechnique()
          This element may contain any number of non-common profile techniques.
 PhysicsScene.TechniqueCommon getTechniqueCommon()
          Gets the value of the techniqueCommon property.
 void setAsset(Asset value)
          The physics_scene 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.
 void setTechniqueCommon(PhysicsScene.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

asset

protected Asset asset

instanceForceField

protected List<InstanceWithExtra> instanceForceField

instancePhysicsModel

protected List<InstancePhysicsModel> instancePhysicsModel

techniqueCommon

protected PhysicsScene.TechniqueCommon techniqueCommon

technique

protected List<Technique> technique

extra

protected List<Extra> extra

id

protected String id

name

protected String name
Constructor Detail

PhysicsScene

public PhysicsScene()
Method Detail

getAsset

public Asset getAsset()
The physics_scene element may contain an asset element.

Returns:
possible object is Asset

setAsset

public void setAsset(Asset value)
The physics_scene element may contain an asset element.

Parameters:
value - allowed object is Asset

getInstanceForceField

public List<InstanceWithExtra> getInstanceForceField()
There may be any number of instance_force_field elements. Gets the value of the instanceForceField 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 instanceForceField property.

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

    getInstanceForceField().add(newItem);
 

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


getInstancePhysicsModel

public List<InstancePhysicsModel> getInstancePhysicsModel()
There may be any number of instance_physics_model elements. Gets the value of the instancePhysicsModel 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 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


getTechniqueCommon

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

Returns:
possible object is PhysicsScene.TechniqueCommon

setTechniqueCommon

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

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id 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

CroftSoft Javadoc

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