01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2007.03.17 at 08:38:02 AM PDT
06: //
07:
08: package org.collada.colladaschema;
09:
10: import java.util.ArrayList;
11: import java.util.List;
12: import javax.xml.bind.annotation.XmlAccessType;
13: import javax.xml.bind.annotation.XmlAccessorType;
14: import javax.xml.bind.annotation.XmlElement;
15: import javax.xml.bind.annotation.XmlRootElement;
16: import javax.xml.bind.annotation.XmlType;
17:
18: /**
19: * <p>Java class for anonymous complex type.
20: *
21: * <p>The following schema fragment specifies the expected content contained within this class.
22: *
23: * <pre>
24: * <complexType>
25: * <complexContent>
26: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27: * <sequence>
28: * <element name="radius" type="{http://www.collada.org/2005/11/COLLADASchema}float"/>
29: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
30: * </sequence>
31: * </restriction>
32: * </complexContent>
33: * </complexType>
34: * </pre>
35: *
36: *
37: */
38: @XmlAccessorType(XmlAccessType.FIELD)
39: @XmlType(name="",propOrder={"radius","extras"})
40: @XmlRootElement(name="sphere")
41: public class Sphere {
42:
43: protected double radius;
44: @XmlElement(name="extra")
45: protected List<Extra> extras;
46:
47: /**
48: * Gets the value of the radius property.
49: *
50: */
51: public double getRadius() {
52: return radius;
53: }
54:
55: /**
56: * Sets the value of the radius property.
57: *
58: */
59: public void setRadius(double value) {
60: this .radius = value;
61: }
62:
63: /**
64: *
65: * The extra element may appear any number of times.
66: * Gets the value of the extras property.
67: *
68: * <p>
69: * This accessor method returns a reference to the live list,
70: * not a snapshot. Therefore any modification you make to the
71: * returned list will be present inside the JAXB object.
72: * This is why there is not a <CODE>set</CODE> method for the extras property.
73: *
74: * <p>
75: * For example, to add a new item, do as follows:
76: * <pre>
77: * getExtras().add(newItem);
78: * </pre>
79: *
80: *
81: * <p>
82: * Objects of the following type(s) are allowed in the list
83: * {@link Extra }
84: *
85: *
86: */
87: public List<Extra> getExtras() {
88: if (extras == null) {
89: extras = new ArrayList<Extra>();
90: }
91: return this.extras;
92: }
93:
94: }
|