org.collada._2005._11.colladaschema
Class CommonNewparamType

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

public class CommonNewparamType
extends Object

Java class for common_newparam_type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="common_newparam_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="semantic" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
         <choice>
           <element name="float" type="{http://www.collada.org/2005/11/COLLADASchema}float"/>
           <element name="float2" type="{http://www.collada.org/2005/11/COLLADASchema}float2"/>
           <element name="float3" type="{http://www.collada.org/2005/11/COLLADASchema}float3"/>
           <element name="float4" type="{http://www.collada.org/2005/11/COLLADASchema}float4"/>
           <element name="surface" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_common"/>
           <element name="sampler2D" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler2D_common"/>
         </choice>
       </sequence>
       <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Double _float
           
protected  List<Double> float2
           
protected  List<Double> float3
           
protected  List<Double> float4
           
protected  FxSampler2DCommon sampler2D
           
protected  String semantic
           
protected  String sid
           
protected  FxSurfaceCommon surface
           
 
Constructor Summary
CommonNewparamType()
           
 
Method Summary
 Double getFloat()
          Gets the value of the float property.
 List<Double> getFloat2()
          Gets the value of the float2 property.
 List<Double> getFloat3()
          Gets the value of the float3 property.
 List<Double> getFloat4()
          Gets the value of the float4 property.
 FxSampler2DCommon getSampler2D()
          Gets the value of the sampler2D property.
 String getSemantic()
          Gets the value of the semantic property.
 String getSid()
          Gets the value of the sid property.
 FxSurfaceCommon getSurface()
          Gets the value of the surface property.
 void setFloat(Double value)
          Sets the value of the float property.
 void setSampler2D(FxSampler2DCommon value)
          Sets the value of the sampler2D property.
 void setSemantic(String value)
          Sets the value of the semantic property.
 void setSid(String value)
          Sets the value of the sid property.
 void setSurface(FxSurfaceCommon value)
          Sets the value of the surface property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

semantic

protected String semantic

_float

protected Double _float

float2

protected List<Double> float2

float3

protected List<Double> float3

float4

protected List<Double> float4

surface

protected FxSurfaceCommon surface

sampler2D

protected FxSampler2DCommon sampler2D

sid

protected String sid
Constructor Detail

CommonNewparamType

public CommonNewparamType()
Method Detail

getSemantic

public String getSemantic()
Gets the value of the semantic property.

Returns:
possible object is String

setSemantic

public void setSemantic(String value)
Sets the value of the semantic property.

Parameters:
value - allowed object is String

getFloat

public Double getFloat()
Gets the value of the float property.

Returns:
possible object is Double

setFloat

public void setFloat(Double value)
Sets the value of the float property.

Parameters:
value - allowed object is Double

getFloat2

public List<Double> getFloat2()
Gets the value of the float2 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 float2 property.

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

    getFloat2().add(newItem);
 

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


getFloat3

public List<Double> getFloat3()
Gets the value of the float3 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 float3 property.

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

    getFloat3().add(newItem);
 

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


getFloat4

public List<Double> getFloat4()
Gets the value of the float4 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 float4 property.

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

    getFloat4().add(newItem);
 

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


getSurface

public FxSurfaceCommon getSurface()
Gets the value of the surface property.

Returns:
possible object is FxSurfaceCommon

setSurface

public void setSurface(FxSurfaceCommon value)
Sets the value of the surface property.

Parameters:
value - allowed object is FxSurfaceCommon

getSampler2D

public FxSampler2DCommon getSampler2D()
Gets the value of the sampler2D property.

Returns:
possible object is FxSampler2DCommon

setSampler2D

public void setSampler2D(FxSampler2DCommon value)
Sets the value of the sampler2D property.

Parameters:
value - allowed object is FxSampler2DCommon

getSid

public String getSid()
Gets the value of the sid property.

Returns:
possible object is String

setSid

public void setSid(String value)
Sets the value of the sid property.

Parameters:
value - allowed object is String

CroftSoft Javadoc

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