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.math.BigInteger;
011: import java.util.ArrayList;
012: import java.util.List;
013: import javax.xml.bind.annotation.XmlAccessType;
014: import javax.xml.bind.annotation.XmlAccessorType;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlID;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.bind.annotation.XmlValue;
020: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
021: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
022:
023: /**
024: * <p>Java class for anonymous complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType>
030: * <simpleContent>
031: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>ListOfNames">
032: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
033: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
034: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
035: * </extension>
036: * </simpleContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="",propOrder={"values"})
044: @XmlRootElement(name="Name_array")
045: public class NameArray {
046:
047: @XmlValue
048: protected List<String> values;
049: @XmlAttribute(required=true)
050: protected BigInteger count;
051: @XmlAttribute
052: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
053: @XmlID
054: protected String id;
055: @XmlAttribute
056: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
057: protected String name;
058:
059: /**
060: * Gets the value of the values property.
061: *
062: * <p>
063: * This accessor method returns a reference to the live list,
064: * not a snapshot. Therefore any modification you make to the
065: * returned list will be present inside the JAXB object.
066: * This is why there is not a <CODE>set</CODE> method for the values property.
067: *
068: * <p>
069: * For example, to add a new item, do as follows:
070: * <pre>
071: * getValues().add(newItem);
072: * </pre>
073: *
074: *
075: * <p>
076: * Objects of the following type(s) are allowed in the list
077: * {@link String }
078: *
079: *
080: */
081: public List<String> getValues() {
082: if (values == null) {
083: values = new ArrayList<String>();
084: }
085: return this .values;
086: }
087:
088: /**
089: * Gets the value of the count property.
090: *
091: * @return
092: * possible object is
093: * {@link BigInteger }
094: *
095: */
096: public BigInteger getCount() {
097: return count;
098: }
099:
100: /**
101: * Sets the value of the count property.
102: *
103: * @param value
104: * allowed object is
105: * {@link BigInteger }
106: *
107: */
108: public void setCount(BigInteger value) {
109: this .count = value;
110: }
111:
112: /**
113: * Gets the value of the id property.
114: *
115: * @return
116: * possible object is
117: * {@link String }
118: *
119: */
120: public String getId() {
121: return id;
122: }
123:
124: /**
125: * Sets the value of the id property.
126: *
127: * @param value
128: * allowed object is
129: * {@link String }
130: *
131: */
132: public void setId(String value) {
133: this .id = value;
134: }
135:
136: /**
137: * Gets the value of the name property.
138: *
139: * @return
140: * possible object is
141: * {@link String }
142: *
143: */
144: public String getName() {
145: return name;
146: }
147:
148: /**
149: * Sets the value of the name property.
150: *
151: * @param value
152: * allowed object is
153: * {@link String }
154: *
155: */
156: public void setName(String value) {
157: this.name = value;
158: }
159:
160: }
|