// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.06.28 at 10:54:17 PM EDT // package org.collada._2005._11.colladaschema; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlIDREF; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * * 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. * * *
Java class for fx_surface_init_from_common complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="fx_surface_init_from_common"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>IDREF"> * <attribute name="mip" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" /> * <attribute name="slice" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" /> * <attribute name="face" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_face_enum" default="POSITIVE_X" /> * </extension> * </simpleContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "fx_surface_init_from_common", propOrder = { "value" }) public class FxSurfaceInitFromCommon { @XmlValue @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object value; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long mip; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long slice; @XmlAttribute protected FxSurfaceFaceEnum face; /** * Gets the value of the value property. * * @return * possible object is * {@link Object } * */ public Object getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Object } * */ public void setValue(Object value) { this.value = value; } /** * Gets the value of the mip property. * * @return * possible object is * {@link Long } * */ public long getMip() { if (mip == null) { return 0L; } else { return mip; } } /** * Sets the value of the mip property. * * @param value * allowed object is * {@link Long } * */ public void setMip(Long value) { this.mip = value; } /** * Gets the value of the slice property. * * @return * possible object is * {@link Long } * */ public long getSlice() { if (slice == null) { return 0L; } else { return slice; } } /** * Sets the value of the slice property. * * @param value * allowed object is * {@link Long } * */ public void setSlice(Long value) { this.slice = value; } /** * Gets the value of the face property. * * @return * possible object is * {@link FxSurfaceFaceEnum } * */ public FxSurfaceFaceEnum getFace() { if (face == null) { return FxSurfaceFaceEnum.POSITIVE_X; } else { return face; } } /** * Sets the value of the face property. * * @param value * allowed object is * {@link FxSurfaceFaceEnum } * */ public void setFace(FxSurfaceFaceEnum value) { this.face = value; } }