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