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 javax.xml.bind.annotation.XmlAccessType;
012: import javax.xml.bind.annotation.XmlAccessorType;
013: import javax.xml.bind.annotation.XmlAttribute;
014: import javax.xml.bind.annotation.XmlType;
015: import javax.xml.bind.annotation.XmlValue;
016: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018:
019: /**
020: * <p>Java class for fx_colortarget_common complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="fx_colortarget_common">
026: * <simpleContent>
027: * <extension base="<http://www.w3.org/2001/XMLSchema>NCName">
028: * <attribute name="face" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_face_enum" default="POSITIVE_X" />
029: * <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" />
030: * <attribute name="mip" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" />
031: * <attribute name="slice" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" />
032: * </extension>
033: * </simpleContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039: @XmlAccessorType(XmlAccessType.FIELD)
040: @XmlType(name="fx_colortarget_common",propOrder={"value"})
041: public class FxColortargetCommon {
042:
043: @XmlValue
044: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
045: protected String value;
046: @XmlAttribute
047: protected FxSurfaceFaceEnum face;
048: @XmlAttribute
049: protected BigInteger index;
050: @XmlAttribute
051: protected BigInteger mip;
052: @XmlAttribute
053: protected BigInteger slice;
054:
055: /**
056: * Gets the value of the value property.
057: *
058: * @return
059: * possible object is
060: * {@link String }
061: *
062: */
063: public String getValue() {
064: return value;
065: }
066:
067: /**
068: * Sets the value of the value property.
069: *
070: * @param value
071: * allowed object is
072: * {@link String }
073: *
074: */
075: public void setValue(String value) {
076: this .value = value;
077: }
078:
079: /**
080: * Gets the value of the face property.
081: *
082: * @return
083: * possible object is
084: * {@link FxSurfaceFaceEnum }
085: *
086: */
087: public FxSurfaceFaceEnum getFace() {
088: if (face == null) {
089: return FxSurfaceFaceEnum.POSITIVE_X;
090: } else {
091: return face;
092: }
093: }
094:
095: /**
096: * Sets the value of the face property.
097: *
098: * @param value
099: * allowed object is
100: * {@link FxSurfaceFaceEnum }
101: *
102: */
103: public void setFace(FxSurfaceFaceEnum value) {
104: this .face = value;
105: }
106:
107: /**
108: * Gets the value of the index property.
109: *
110: * @return
111: * possible object is
112: * {@link BigInteger }
113: *
114: */
115: public BigInteger getIndex() {
116: if (index == null) {
117: return new BigInteger("0");
118: } else {
119: return index;
120: }
121: }
122:
123: /**
124: * Sets the value of the index property.
125: *
126: * @param value
127: * allowed object is
128: * {@link BigInteger }
129: *
130: */
131: public void setIndex(BigInteger value) {
132: this .index = value;
133: }
134:
135: /**
136: * Gets the value of the mip property.
137: *
138: * @return
139: * possible object is
140: * {@link BigInteger }
141: *
142: */
143: public BigInteger getMip() {
144: if (mip == null) {
145: return new BigInteger("0");
146: } else {
147: return mip;
148: }
149: }
150:
151: /**
152: * Sets the value of the mip property.
153: *
154: * @param value
155: * allowed object is
156: * {@link BigInteger }
157: *
158: */
159: public void setMip(BigInteger value) {
160: this .mip = value;
161: }
162:
163: /**
164: * Gets the value of the slice property.
165: *
166: * @return
167: * possible object is
168: * {@link BigInteger }
169: *
170: */
171: public BigInteger getSlice() {
172: if (slice == null) {
173: return new BigInteger("0");
174: } else {
175: return slice;
176: }
177: }
178:
179: /**
180: * Sets the value of the slice property.
181: *
182: * @param value
183: * allowed object is
184: * {@link BigInteger }
185: *
186: */
187: public void setSlice(BigInteger value) {
188: this.slice = value;
189: }
190:
191: }
|