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 javax.xml.bind.annotation.XmlAccessType;
011: import javax.xml.bind.annotation.XmlAccessorType;
012: import javax.xml.bind.annotation.XmlAttribute;
013: import javax.xml.bind.annotation.XmlIDREF;
014: import javax.xml.bind.annotation.XmlType;
015: import javax.xml.bind.annotation.XmlValue;
016:
017: /**
018: *
019: * This element is an IDREF which specifies the image to use to initialize a specific mip of a 1D or 2D surface, 3D slice, or Cube face.
020: *
021: *
022: * <p>Java class for fx_surface_init_from_common complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType name="fx_surface_init_from_common">
028: * <simpleContent>
029: * <extension base="<http://www.w3.org/2001/XMLSchema>IDREF">
030: * <attribute name="face" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_face_enum" default="POSITIVE_X" />
031: * <attribute name="mip" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
032: * <attribute name="slice" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
033: * </extension>
034: * </simpleContent>
035: * </complexType>
036: * </pre>
037: *
038: *
039: */
040: @XmlAccessorType(XmlAccessType.FIELD)
041: @XmlType(name="fx_surface_init_from_common",propOrder={"value"})
042: public class FxSurfaceInitFromCommon {
043:
044: @XmlValue
045: @XmlIDREF
046: protected Object value;
047: @XmlAttribute
048: protected FxSurfaceFaceEnum face;
049: @XmlAttribute
050: protected Long mip;
051: @XmlAttribute
052: protected Long slice;
053:
054: /**
055: * Gets the value of the value property.
056: *
057: * @return
058: * possible object is
059: * {@link Object }
060: *
061: */
062: public Object getValue() {
063: return value;
064: }
065:
066: /**
067: * Sets the value of the value property.
068: *
069: * @param value
070: * allowed object is
071: * {@link Object }
072: *
073: */
074: public void setValue(Object value) {
075: this .value = value;
076: }
077:
078: /**
079: * Gets the value of the face property.
080: *
081: * @return
082: * possible object is
083: * {@link FxSurfaceFaceEnum }
084: *
085: */
086: public FxSurfaceFaceEnum getFace() {
087: if (face == null) {
088: return FxSurfaceFaceEnum.POSITIVE_X;
089: } else {
090: return face;
091: }
092: }
093:
094: /**
095: * Sets the value of the face property.
096: *
097: * @param value
098: * allowed object is
099: * {@link FxSurfaceFaceEnum }
100: *
101: */
102: public void setFace(FxSurfaceFaceEnum value) {
103: this .face = value;
104: }
105:
106: /**
107: * Gets the value of the mip property.
108: *
109: * @return
110: * possible object is
111: * {@link Long }
112: *
113: */
114: public long getMip() {
115: if (mip == null) {
116: return 0L;
117: } else {
118: return mip;
119: }
120: }
121:
122: /**
123: * Sets the value of the mip property.
124: *
125: * @param value
126: * allowed object is
127: * {@link Long }
128: *
129: */
130: public void setMip(Long value) {
131: this .mip = value;
132: }
133:
134: /**
135: * Gets the value of the slice property.
136: *
137: * @return
138: * possible object is
139: * {@link Long }
140: *
141: */
142: public long getSlice() {
143: if (slice == null) {
144: return 0L;
145: } else {
146: return slice;
147: }
148: }
149:
150: /**
151: * Sets the value of the slice property.
152: *
153: * @param value
154: * allowed object is
155: * {@link Long }
156: *
157: */
158: public void setSlice(Long value) {
159: this.slice = value;
160: }
161:
162: }
|