org.collada._2005._11.colladaschema
Class InstanceWithExtra

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

public class InstanceWithExtra
extends Object

The InstanceWithExtra type is used for all generic instance elements. A generic instance element is one which does not have any specific child elements declared.

Java class for InstanceWithExtra complex type.

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

 <complexType name="InstanceWithExtra">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Extra> extra
           
protected  String name
           
protected  String sid
           
protected  String url
           
 
Constructor Summary
InstanceWithExtra()
           
 
Method Summary
 List<Extra> getExtra()
          The extra element may occur any number of times.
 String getName()
          Gets the value of the name property.
 String getSid()
          Gets the value of the sid property.
 String getUrl()
          Gets the value of the url property.
 void setName(String value)
          Sets the value of the name property.
 void setSid(String value)
          Sets the value of the sid property.
 void setUrl(String value)
          Sets the value of the url property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extra

protected List<Extra> extra

name

protected String name

sid

protected String sid

url

protected String url
Constructor Detail

InstanceWithExtra

public InstanceWithExtra()
Method Detail

getExtra

public List<Extra> getExtra()
The extra element may occur 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


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

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

getUrl

public String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

CroftSoft Javadoc

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