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="radius" type="{http://www.collada.org/2005/11/COLLADASchema}float2"/>
031: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
032: * </sequence>
033: * </restriction>
034: * </complexContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlAccessorType(XmlAccessType.FIELD)
041: @XmlType(name="",propOrder={"height","radius","extras"})
042: @XmlRootElement(name="cylinder")
043: public class Cylinder {
044:
045: protected double height;
046: @XmlList
047: @XmlElement(type=Double.class)
048: protected List<Double> radius;
049: @XmlElement(name="extra")
050: protected List<Extra> extras;
051:
052: /**
053: * Gets the value of the height property.
054: *
055: */
056: public double getHeight() {
057: return height;
058: }
059:
060: /**
061: * Sets the value of the height property.
062: *
063: */
064: public void setHeight(double value) {
065: this .height = value;
066: }
067:
068: /**
069: * Gets the value of the radius property.
070: *
071: * <p>
072: * This accessor method returns a reference to the live list,
073: * not a snapshot. Therefore any modification you make to the
074: * returned list will be present inside the JAXB object.
075: * This is why there is not a <CODE>set</CODE> method for the radius property.
076: *
077: * <p>
078: * For example, to add a new item, do as follows:
079: * <pre>
080: * getRadius().add(newItem);
081: * </pre>
082: *
083: *
084: * <p>
085: * Objects of the following type(s) are allowed in the list
086: * {@link Double }
087: *
088: *
089: */
090: public List<Double> getRadius() {
091: if (radius == null) {
092: radius = new ArrayList<Double>();
093: }
094: return this .radius;
095: }
096:
097: /**
098: *
099: * The extra element may appear any number of times.
100: * Gets the value of the extras property.
101: *
102: * <p>
103: * This accessor method returns a reference to the live list,
104: * not a snapshot. Therefore any modification you make to the
105: * returned list will be present inside the JAXB object.
106: * This is why there is not a <CODE>set</CODE> method for the extras property.
107: *
108: * <p>
109: * For example, to add a new item, do as follows:
110: * <pre>
111: * getExtras().add(newItem);
112: * </pre>
113: *
114: *
115: * <p>
116: * Objects of the following type(s) are allowed in the list
117: * {@link Extra }
118: *
119: *
120: */
121: public List<Extra> getExtras() {
122: if (extras == null) {
123: extras = new ArrayList<Extra>();
124: }
125: return this.extras;
126: }
127:
128: }
|