org.collada._2005._11.colladaschema
Class Sphere

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

public class Sphere
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="radius" type="{http://www.collada.org/2005/11/COLLADASchema}float"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Extra> extra
           
protected  double radius
           
 
Constructor Summary
Sphere()
           
 
Method Summary
 List<Extra> getExtra()
          The extra element may appear any number of times.
 double getRadius()
          Gets the value of the radius property.
 void setRadius(double value)
          Sets the value of the radius property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radius

protected double radius

extra

protected List<Extra> extra
Constructor Detail

Sphere

public Sphere()
Method Detail

getRadius

public double getRadius()
Gets the value of the radius property.


setRadius

public void setRadius(double value)
Sets the value of the radius property.


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


CroftSoft Javadoc

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