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.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020:
021: /**
022: * <p>Java class for anonymous complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType>
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <sequence>
031: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}bind_material" minOccurs="0"/>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
033: * </sequence>
034: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
035: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
036: * <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: *
042: *
043: */
044: @XmlAccessorType(XmlAccessType.FIELD)
045: @XmlType(name="",propOrder={"bindMaterial","extras"})
046: @XmlRootElement(name="instance_geometry")
047: public class InstanceGeometry {
048:
049: @XmlElement(name="bind_material")
050: protected BindMaterial bindMaterial;
051: @XmlElement(name="extra")
052: protected List<Extra> extras;
053: @XmlAttribute
054: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
055: protected String name;
056: @XmlAttribute
057: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
058: protected String sid;
059: @XmlAttribute(required=true)
060: protected String url;
061:
062: /**
063: *
064: * Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
065: * same time.
066: *
067: *
068: * @return
069: * possible object is
070: * {@link BindMaterial }
071: *
072: */
073: public BindMaterial getBindMaterial() {
074: return bindMaterial;
075: }
076:
077: /**
078: *
079: * Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
080: * same time.
081: *
082: *
083: * @param value
084: * allowed object is
085: * {@link BindMaterial }
086: *
087: */
088: public void setBindMaterial(BindMaterial value) {
089: this .bindMaterial = value;
090: }
091:
092: /**
093: *
094: * The extra element may appear any number of times.
095: * Gets the value of the extras property.
096: *
097: * <p>
098: * This accessor method returns a reference to the live list,
099: * not a snapshot. Therefore any modification you make to the
100: * returned list will be present inside the JAXB object.
101: * This is why there is not a <CODE>set</CODE> method for the extras property.
102: *
103: * <p>
104: * For example, to add a new item, do as follows:
105: * <pre>
106: * getExtras().add(newItem);
107: * </pre>
108: *
109: *
110: * <p>
111: * Objects of the following type(s) are allowed in the list
112: * {@link Extra }
113: *
114: *
115: */
116: public List<Extra> getExtras() {
117: if (extras == null) {
118: extras = new ArrayList<Extra>();
119: }
120: return this .extras;
121: }
122:
123: /**
124: * Gets the value of the name property.
125: *
126: * @return
127: * possible object is
128: * {@link String }
129: *
130: */
131: public String getName() {
132: return name;
133: }
134:
135: /**
136: * Sets the value of the name property.
137: *
138: * @param value
139: * allowed object is
140: * {@link String }
141: *
142: */
143: public void setName(String value) {
144: this .name = value;
145: }
146:
147: /**
148: * Gets the value of the sid property.
149: *
150: * @return
151: * possible object is
152: * {@link String }
153: *
154: */
155: public String getSid() {
156: return sid;
157: }
158:
159: /**
160: * Sets the value of the sid property.
161: *
162: * @param value
163: * allowed object is
164: * {@link String }
165: *
166: */
167: public void setSid(String value) {
168: this .sid = value;
169: }
170:
171: /**
172: * Gets the value of the url property.
173: *
174: * @return
175: * possible object is
176: * {@link String }
177: *
178: */
179: public String getUrl() {
180: return url;
181: }
182:
183: /**
184: * Sets the value of the url property.
185: *
186: * @param value
187: * allowed object is
188: * {@link String }
189: *
190: */
191: public void setUrl(String value) {
192: this.url = value;
193: }
194:
195: }
|