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.XmlElement;
015: import javax.xml.bind.annotation.XmlList;
016: import javax.xml.bind.annotation.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018:
019: /**
020: * <p>Java class for anonymous complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType>
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element name="height" type="{http://www.collada.org/2005/11/COLLADASchema}float"/>
030: * <element name="radius1" type="{http://www.collada.org/2005/11/COLLADASchema}float2"/>
031: * <element name="radius2" type="{http://www.collada.org/2005/11/COLLADASchema}float2"/>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
033: * </sequence>
034: * </restriction>
035: * </complexContent>
036: * </complexType>
037: * </pre>
038: *
039: *
040: */
041: @XmlAccessorType(XmlAccessType.FIELD)
042: @XmlType(name="",propOrder={"height","radius1","radius2","extras"})
043: @XmlRootElement(name="tapered_capsule")
044: public class TaperedCapsule {
045:
046: protected double height;
047: @XmlList
048: @XmlElement(type=Double.class)
049: protected List<Double> radius1;
050: @XmlList
051: @XmlElement(type=Double.class)
052: protected List<Double> radius2;
053: @XmlElement(name="extra")
054: protected List<Extra> extras;
055:
056: /**
057: * Gets the value of the height property.
058: *
059: */
060: public double getHeight() {
061: return height;
062: }
063:
064: /**
065: * Sets the value of the height property.
066: *
067: */
068: public void setHeight(double value) {
069: this .height = value;
070: }
071:
072: /**
073: * Gets the value of the radius1 property.
074: *
075: * <p>
076: * This accessor method returns a reference to the live list,
077: * not a snapshot. Therefore any modification you make to the
078: * returned list will be present inside the JAXB object.
079: * This is why there is not a <CODE>set</CODE> method for the radius1 property.
080: *
081: * <p>
082: * For example, to add a new item, do as follows:
083: * <pre>
084: * getRadius1().add(newItem);
085: * </pre>
086: *
087: *
088: * <p>
089: * Objects of the following type(s) are allowed in the list
090: * {@link Double }
091: *
092: *
093: */
094: public List<Double> getRadius1() {
095: if (radius1 == null) {
096: radius1 = new ArrayList<Double>();
097: }
098: return this .radius1;
099: }
100:
101: /**
102: * Gets the value of the radius2 property.
103: *
104: * <p>
105: * This accessor method returns a reference to the live list,
106: * not a snapshot. Therefore any modification you make to the
107: * returned list will be present inside the JAXB object.
108: * This is why there is not a <CODE>set</CODE> method for the radius2 property.
109: *
110: * <p>
111: * For example, to add a new item, do as follows:
112: * <pre>
113: * getRadius2().add(newItem);
114: * </pre>
115: *
116: *
117: * <p>
118: * Objects of the following type(s) are allowed in the list
119: * {@link Double }
120: *
121: *
122: */
123: public List<Double> getRadius2() {
124: if (radius2 == null) {
125: radius2 = new ArrayList<Double>();
126: }
127: return this .radius2;
128: }
129:
130: /**
131: *
132: * The extra element may appear any number of times.
133: * Gets the value of the extras property.
134: *
135: * <p>
136: * This accessor method returns a reference to the live list,
137: * not a snapshot. Therefore any modification you make to the
138: * returned list will be present inside the JAXB object.
139: * This is why there is not a <CODE>set</CODE> method for the extras property.
140: *
141: * <p>
142: * For example, to add a new item, do as follows:
143: * <pre>
144: * getExtras().add(newItem);
145: * </pre>
146: *
147: *
148: * <p>
149: * Objects of the following type(s) are allowed in the list
150: * {@link Extra }
151: *
152: *
153: */
154: public List<Extra> getExtras() {
155: if (extras == null) {
156: extras = new ArrayList<Extra>();
157: }
158: return this.extras;
159: }
160:
161: }
|