|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.Geometry
public class Geometry
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"/>
<choice>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}convex_mesh"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}mesh"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}spline"/>
</choice>
<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 ConvexMesh |
convexMesh
|
protected List<Extra> |
extra
|
protected String |
id
|
protected Mesh |
mesh
|
protected String |
name
|
protected Spline |
spline
|
| Constructor Summary | |
|---|---|
Geometry()
|
|
| Method Summary | |
|---|---|
Asset |
getAsset()
The geometry element may contain an asset element. |
ConvexMesh |
getConvexMesh()
The geometry element may contain only one mesh or convex_mesh. |
List<Extra> |
getExtra()
The extra element may appear any number of times. |
String |
getId()
Gets the value of the id property. |
Mesh |
getMesh()
The geometry element may contain only one mesh or convex_mesh. |
String |
getName()
Gets the value of the name property. |
Spline |
getSpline()
Gets the value of the spline property. |
void |
setAsset(Asset value)
The geometry element may contain an asset element. |
void |
setConvexMesh(ConvexMesh value)
The geometry element may contain only one mesh or convex_mesh. |
void |
setId(String value)
Sets the value of the id property. |
void |
setMesh(Mesh value)
The geometry element may contain only one mesh or convex_mesh. |
void |
setName(String value)
Sets the value of the name property. |
void |
setSpline(Spline value)
Sets the value of the spline 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 ConvexMesh convexMesh
protected Mesh mesh
protected Spline spline
protected List<Extra> extra
protected String id
protected String name
| Constructor Detail |
|---|
public Geometry()
| Method Detail |
|---|
public Asset getAsset()
Assetpublic void setAsset(Asset value)
value - allowed object is
Assetpublic ConvexMesh getConvexMesh()
ConvexMeshpublic void setConvexMesh(ConvexMesh value)
value - allowed object is
ConvexMeshpublic Mesh getMesh()
Meshpublic void setMesh(Mesh value)
value - allowed object is
Meshpublic Spline getSpline()
Splinepublic void setSpline(Spline value)
value - allowed object is
Splinepublic 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 | |||||||||