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