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}extra" maxOccurs="unbounded" minOccurs="0"/>
032: * </sequence>
033: * <attribute name="constraint" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
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: * </restriction>
037: * </complexContent>
038: * </complexType>
039: * </pre>
040: *
041: *
042: */
043: @XmlAccessorType(XmlAccessType.FIELD)
044: @XmlType(name="",propOrder={"extras"})
045: @XmlRootElement(name="instance_rigid_constraint")
046: public class InstanceRigidConstraint {
047:
048: @XmlElement(name="extra")
049: protected List<Extra> extras;
050: @XmlAttribute(required=true)
051: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
052: protected String constraint;
053: @XmlAttribute
054: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
055: protected String name;
056: @XmlAttribute
057: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
058: protected String sid;
059:
060: /**
061: *
062: * The extra element may appear any number of times.
063: * Gets the value of the extras property.
064: *
065: * <p>
066: * This accessor method returns a reference to the live list,
067: * not a snapshot. Therefore any modification you make to the
068: * returned list will be present inside the JAXB object.
069: * This is why there is not a <CODE>set</CODE> method for the extras property.
070: *
071: * <p>
072: * For example, to add a new item, do as follows:
073: * <pre>
074: * getExtras().add(newItem);
075: * </pre>
076: *
077: *
078: * <p>
079: * Objects of the following type(s) are allowed in the list
080: * {@link Extra }
081: *
082: *
083: */
084: public List<Extra> getExtras() {
085: if (extras == null) {
086: extras = new ArrayList<Extra>();
087: }
088: return this .extras;
089: }
090:
091: /**
092: * Gets the value of the constraint property.
093: *
094: * @return
095: * possible object is
096: * {@link String }
097: *
098: */
099: public String getConstraint() {
100: return constraint;
101: }
102:
103: /**
104: * Sets the value of the constraint property.
105: *
106: * @param value
107: * allowed object is
108: * {@link String }
109: *
110: */
111: public void setConstraint(String value) {
112: this .constraint = value;
113: }
114:
115: /**
116: * Gets the value of the name property.
117: *
118: * @return
119: * possible object is
120: * {@link String }
121: *
122: */
123: public String getName() {
124: return name;
125: }
126:
127: /**
128: * Sets the value of the name property.
129: *
130: * @param value
131: * allowed object is
132: * {@link String }
133: *
134: */
135: public void setName(String value) {
136: this .name = value;
137: }
138:
139: /**
140: * Gets the value of the sid property.
141: *
142: * @return
143: * possible object is
144: * {@link String }
145: *
146: */
147: public String getSid() {
148: return sid;
149: }
150:
151: /**
152: * Sets the value of the sid property.
153: *
154: * @param value
155: * allowed object is
156: * {@link String }
157: *
158: */
159: public void setSid(String value) {
160: this.sid = value;
161: }
162:
163: }
|