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: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
034: * </sequence>
035: * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
036: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="",propOrder={"inputs","extras"})
046: @XmlRootElement(name="vertices")
047: public class Vertices {
048:
049: @XmlElement(name="input",required=true)
050: protected List<InputLocal> inputs;
051: @XmlElement(name="extra")
052: protected List<Extra> extras;
053: @XmlAttribute(required=true)
054: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
055: @XmlID
056: protected String id;
057: @XmlAttribute
058: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059: protected String name;
060:
061: /**
062: * Gets the value of the inputs property.
063: *
064: * <p>
065: * This accessor method returns a reference to the live list,
066: * not a snapshot. Therefore any modification you make to the
067: * returned list will be present inside the JAXB object.
068: * This is why there is not a <CODE>set</CODE> method for the inputs property.
069: *
070: * <p>
071: * For example, to add a new item, do as follows:
072: * <pre>
073: * getInputs().add(newItem);
074: * </pre>
075: *
076: *
077: * <p>
078: * Objects of the following type(s) are allowed in the list
079: * {@link InputLocal }
080: *
081: *
082: */
083: public List<InputLocal> getInputs() {
084: if (inputs == null) {
085: inputs = new ArrayList<InputLocal>();
086: }
087: return this .inputs;
088: }
089:
090: /**
091: *
092: * The extra element may appear any number of times.
093: * Gets the value of the extras property.
094: *
095: * <p>
096: * This accessor method returns a reference to the live list,
097: * not a snapshot. Therefore any modification you make to the
098: * returned list will be present inside the JAXB object.
099: * This is why there is not a <CODE>set</CODE> method for the extras property.
100: *
101: * <p>
102: * For example, to add a new item, do as follows:
103: * <pre>
104: * getExtras().add(newItem);
105: * </pre>
106: *
107: *
108: * <p>
109: * Objects of the following type(s) are allowed in the list
110: * {@link Extra }
111: *
112: *
113: */
114: public List<Extra> getExtras() {
115: if (extras == null) {
116: extras = new ArrayList<Extra>();
117: }
118: return this .extras;
119: }
120:
121: /**
122: * Gets the value of the id property.
123: *
124: * @return
125: * possible object is
126: * {@link String }
127: *
128: */
129: public String getId() {
130: return id;
131: }
132:
133: /**
134: * Sets the value of the id property.
135: *
136: * @param value
137: * allowed object is
138: * {@link String }
139: *
140: */
141: public void setId(String value) {
142: this .id = value;
143: }
144:
145: /**
146: * Gets the value of the name property.
147: *
148: * @return
149: * possible object is
150: * {@link String }
151: *
152: */
153: public String getName() {
154: return name;
155: }
156:
157: /**
158: * Sets the value of the name property.
159: *
160: * @param value
161: * allowed object is
162: * {@link String }
163: *
164: */
165: public void setName(String value) {
166: this.name = value;
167: }
168:
169: }
|