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.XmlElements;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019:
020: /**
021: * <p>Java class for anonymous complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType>
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence minOccurs="0">
030: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}source" maxOccurs="unbounded"/>
031: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}vertices"/>
032: * <choice maxOccurs="unbounded" minOccurs="0">
033: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}lines"/>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}linestrips"/>
035: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}polygons"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}polylist"/>
037: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}triangles"/>
038: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}trifans"/>
039: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}tristrips"/>
040: * </choice>
041: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="convex_hull_of" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="",propOrder={"sources","vertices","tristripsAndLinesAndPolylists","extras"})
053: @XmlRootElement(name="convex_mesh")
054: public class ConvexMesh {
055:
056: @XmlElement(name="source")
057: protected List<Source> sources;
058: protected Vertices vertices;
059: @XmlElements({@XmlElement(name="polygons",type=Polygons.class),@XmlElement(name="tristrips",type=Tristrips.class),@XmlElement(name="triangles",type=Triangles.class),@XmlElement(name="linestrips",type=Linestrips.class),@XmlElement(name="polylist",type=Polylist.class),@XmlElement(name="lines",type=Lines.class),@XmlElement(name="trifans",type=Trifans.class)})
060: protected List<Object> tristripsAndLinesAndPolylists;
061: @XmlElement(name="extra")
062: protected List<Extra> extras;
063: @XmlAttribute(name="convex_hull_of")
064: protected String convexHullOf;
065:
066: /**
067: * Gets the value of the sources property.
068: *
069: * <p>
070: * This accessor method returns a reference to the live list,
071: * not a snapshot. Therefore any modification you make to the
072: * returned list will be present inside the JAXB object.
073: * This is why there is not a <CODE>set</CODE> method for the sources property.
074: *
075: * <p>
076: * For example, to add a new item, do as follows:
077: * <pre>
078: * getSources().add(newItem);
079: * </pre>
080: *
081: *
082: * <p>
083: * Objects of the following type(s) are allowed in the list
084: * {@link Source }
085: *
086: *
087: */
088: public List<Source> getSources() {
089: if (sources == null) {
090: sources = new ArrayList<Source>();
091: }
092: return this .sources;
093: }
094:
095: /**
096: * Gets the value of the vertices property.
097: *
098: * @return
099: * possible object is
100: * {@link Vertices }
101: *
102: */
103: public Vertices getVertices() {
104: return vertices;
105: }
106:
107: /**
108: * Sets the value of the vertices property.
109: *
110: * @param value
111: * allowed object is
112: * {@link Vertices }
113: *
114: */
115: public void setVertices(Vertices value) {
116: this .vertices = value;
117: }
118:
119: /**
120: * Gets the value of the tristripsAndLinesAndPolylists property.
121: *
122: * <p>
123: * This accessor method returns a reference to the live list,
124: * not a snapshot. Therefore any modification you make to the
125: * returned list will be present inside the JAXB object.
126: * This is why there is not a <CODE>set</CODE> method for the tristripsAndLinesAndPolylists property.
127: *
128: * <p>
129: * For example, to add a new item, do as follows:
130: * <pre>
131: * getTristripsAndLinesAndPolylists().add(newItem);
132: * </pre>
133: *
134: *
135: * <p>
136: * Objects of the following type(s) are allowed in the list
137: * {@link Polygons }
138: * {@link Tristrips }
139: * {@link Triangles }
140: * {@link Linestrips }
141: * {@link Polylist }
142: * {@link Lines }
143: * {@link Trifans }
144: *
145: *
146: */
147: public List<Object> getTristripsAndLinesAndPolylists() {
148: if (tristripsAndLinesAndPolylists == null) {
149: tristripsAndLinesAndPolylists = new ArrayList<Object>();
150: }
151: return this .tristripsAndLinesAndPolylists;
152: }
153:
154: /**
155: *
156: * The extra element may appear any number of times.
157: * Gets the value of the extras property.
158: *
159: * <p>
160: * This accessor method returns a reference to the live list,
161: * not a snapshot. Therefore any modification you make to the
162: * returned list will be present inside the JAXB object.
163: * This is why there is not a <CODE>set</CODE> method for the extras property.
164: *
165: * <p>
166: * For example, to add a new item, do as follows:
167: * <pre>
168: * getExtras().add(newItem);
169: * </pre>
170: *
171: *
172: * <p>
173: * Objects of the following type(s) are allowed in the list
174: * {@link Extra }
175: *
176: *
177: */
178: public List<Extra> getExtras() {
179: if (extras == null) {
180: extras = new ArrayList<Extra>();
181: }
182: return this .extras;
183: }
184:
185: /**
186: * Gets the value of the convexHullOf property.
187: *
188: * @return
189: * possible object is
190: * {@link String }
191: *
192: */
193: public String getConvexHullOf() {
194: return convexHullOf;
195: }
196:
197: /**
198: * Sets the value of the convexHullOf property.
199: *
200: * @param value
201: * allowed object is
202: * {@link String }
203: *
204: */
205: public void setConvexHullOf(String value) {
206: this.convexHullOf = value;
207: }
208:
209: }
|