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