001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
006: //
007:
008: package org.collada.colladaschema;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022: /**
023: * <p>Java class for anonymous complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType>
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded"/>
033: * </sequence>
034: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
035: * </restriction>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="",propOrder={"inputs"})
044: @XmlRootElement(name="sampler")
045: public class Sampler {
046:
047: @XmlElement(name="input",required=true)
048: protected List<InputLocal> inputs;
049: @XmlAttribute
050: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
051: @XmlID
052: protected String id;
053:
054: /**
055: * Gets the value of the inputs property.
056: *
057: * <p>
058: * This accessor method returns a reference to the live list,
059: * not a snapshot. Therefore any modification you make to the
060: * returned list will be present inside the JAXB object.
061: * This is why there is not a <CODE>set</CODE> method for the inputs property.
062: *
063: * <p>
064: * For example, to add a new item, do as follows:
065: * <pre>
066: * getInputs().add(newItem);
067: * </pre>
068: *
069: *
070: * <p>
071: * Objects of the following type(s) are allowed in the list
072: * {@link InputLocal }
073: *
074: *
075: */
076: public List<InputLocal> getInputs() {
077: if (inputs == null) {
078: inputs = new ArrayList<InputLocal>();
079: }
080: return this .inputs;
081: }
082:
083: /**
084: * Gets the value of the id property.
085: *
086: * @return
087: * possible object is
088: * {@link String }
089: *
090: */
091: public String getId() {
092: return id;
093: }
094:
095: /**
096: * Sets the value of the id property.
097: *
098: * @param value
099: * allowed object is
100: * {@link String }
101: *
102: */
103: public void setId(String value) {
104: this.id = value;
105: }
106:
107: }
|