org.collada._2005._11.colladaschema
Class Source

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

public class Source
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"/>
         <choice minOccurs="0">
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}IDREF_array"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}Name_array"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}bool_array"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}float_array"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}int_array"/>
         </choice>
         <element name="technique_common" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}accessor"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" 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 Source.TechniqueCommon
          Java class for anonymous complex type.
 
Field Summary
protected  Asset asset
           
protected  BoolArray boolArray
           
protected  FloatArray floatArray
           
protected  String id
           
protected  IDREFArray idrefArray
           
protected  IntArray intArray
           
protected  String name
           
protected  NameArray nameArray
           
protected  List<Technique> technique
           
protected  Source.TechniqueCommon techniqueCommon
           
 
Constructor Summary
Source()
           
 
Method Summary
 Asset getAsset()
          The source element may contain an asset element.
 BoolArray getBoolArray()
          The source element may contain a bool_array.
 FloatArray getFloatArray()
          The source element may contain a float_array.
 String getId()
          Gets the value of the id property.
 IDREFArray getIDREFArray()
          The source element may contain an IDREF_array.
 IntArray getIntArray()
          The source element may contain an int_array.
 String getName()
          Gets the value of the name property.
 NameArray getNameArray()
          The source element may contain a Name_array.
 List<Technique> getTechnique()
          This element may contain any number of non-common profile techniques.
 Source.TechniqueCommon getTechniqueCommon()
          Gets the value of the techniqueCommon property.
 void setAsset(Asset value)
          The source element may contain an asset element.
 void setBoolArray(BoolArray value)
          The source element may contain a bool_array.
 void setFloatArray(FloatArray value)
          The source element may contain a float_array.
 void setId(String value)
          Sets the value of the id property.
 void setIDREFArray(IDREFArray value)
          The source element may contain an IDREF_array.
 void setIntArray(IntArray value)
          The source element may contain an int_array.
 void setName(String value)
          Sets the value of the name property.
 void setNameArray(NameArray value)
          The source element may contain a Name_array.
 void setTechniqueCommon(Source.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

idrefArray

protected IDREFArray idrefArray

nameArray

protected NameArray nameArray

boolArray

protected BoolArray boolArray

floatArray

protected FloatArray floatArray

intArray

protected IntArray intArray

techniqueCommon

protected Source.TechniqueCommon techniqueCommon

technique

protected List<Technique> technique

id

protected String id

name

protected String name
Constructor Detail

Source

public Source()
Method Detail

getAsset

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

Returns:
possible object is Asset

setAsset

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

Parameters:
value - allowed object is Asset

getIDREFArray

public IDREFArray getIDREFArray()
The source element may contain an IDREF_array.

Returns:
possible object is IDREFArray

setIDREFArray

public void setIDREFArray(IDREFArray value)
The source element may contain an IDREF_array.

Parameters:
value - allowed object is IDREFArray

getNameArray

public NameArray getNameArray()
The source element may contain a Name_array.

Returns:
possible object is NameArray

setNameArray

public void setNameArray(NameArray value)
The source element may contain a Name_array.

Parameters:
value - allowed object is NameArray

getBoolArray

public BoolArray getBoolArray()
The source element may contain a bool_array.

Returns:
possible object is BoolArray

setBoolArray

public void setBoolArray(BoolArray value)
The source element may contain a bool_array.

Parameters:
value - allowed object is BoolArray

getFloatArray

public FloatArray getFloatArray()
The source element may contain a float_array.

Returns:
possible object is FloatArray

setFloatArray

public void setFloatArray(FloatArray value)
The source element may contain a float_array.

Parameters:
value - allowed object is FloatArray

getIntArray

public IntArray getIntArray()
The source element may contain an int_array.

Returns:
possible object is IntArray

setIntArray

public void setIntArray(IntArray value)
The source element may contain an int_array.

Parameters:
value - allowed object is IntArray

getTechniqueCommon

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

Returns:
possible object is Source.TechniqueCommon

setTechniqueCommon

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

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


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)