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.XmlElement;
015: import javax.xml.bind.annotation.XmlType;
016:
017: /**
018: * If the exact format cannot be resolve via other methods then the format_hint will describe the important features of the format so that the application may select a compatable or close format
019: *
020: * <p>Java class for fx_surface_format_hint_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_surface_format_hint_common">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element name="channels" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_format_hint_channels_enum"/>
030: * <element name="range" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_format_hint_range_enum"/>
031: * <element name="precision" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_format_hint_precision_enum" minOccurs="0"/>
032: * <element name="option" type="{http://www.collada.org/2005/11/COLLADASchema}fx_surface_format_hint_option_enum" maxOccurs="unbounded" minOccurs="0"/>
033: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
034: * </sequence>
035: * </restriction>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="fx_surface_format_hint_common",propOrder={"channels","range","precision","options","extras"})
044: public class FxSurfaceFormatHintCommon {
045:
046: @XmlElement(required=true)
047: protected FxSurfaceFormatHintChannelsEnum channels;
048: @XmlElement(required=true)
049: protected FxSurfaceFormatHintRangeEnum range;
050: protected FxSurfaceFormatHintPrecisionEnum precision;
051: @XmlElement(name="option")
052: protected List<FxSurfaceFormatHintOptionEnum> options;
053: @XmlElement(name="extra")
054: protected List<Extra> extras;
055:
056: /**
057: * Gets the value of the channels property.
058: *
059: * @return
060: * possible object is
061: * {@link FxSurfaceFormatHintChannelsEnum }
062: *
063: */
064: public FxSurfaceFormatHintChannelsEnum getChannels() {
065: return channels;
066: }
067:
068: /**
069: * Sets the value of the channels property.
070: *
071: * @param value
072: * allowed object is
073: * {@link FxSurfaceFormatHintChannelsEnum }
074: *
075: */
076: public void setChannels(FxSurfaceFormatHintChannelsEnum value) {
077: this .channels = value;
078: }
079:
080: /**
081: * Gets the value of the range property.
082: *
083: * @return
084: * possible object is
085: * {@link FxSurfaceFormatHintRangeEnum }
086: *
087: */
088: public FxSurfaceFormatHintRangeEnum getRange() {
089: return range;
090: }
091:
092: /**
093: * Sets the value of the range property.
094: *
095: * @param value
096: * allowed object is
097: * {@link FxSurfaceFormatHintRangeEnum }
098: *
099: */
100: public void setRange(FxSurfaceFormatHintRangeEnum value) {
101: this .range = value;
102: }
103:
104: /**
105: * Gets the value of the precision property.
106: *
107: * @return
108: * possible object is
109: * {@link FxSurfaceFormatHintPrecisionEnum }
110: *
111: */
112: public FxSurfaceFormatHintPrecisionEnum getPrecision() {
113: return precision;
114: }
115:
116: /**
117: * Sets the value of the precision property.
118: *
119: * @param value
120: * allowed object is
121: * {@link FxSurfaceFormatHintPrecisionEnum }
122: *
123: */
124: public void setPrecision(FxSurfaceFormatHintPrecisionEnum value) {
125: this .precision = value;
126: }
127:
128: /**
129: * Gets the value of the options property.
130: *
131: * <p>
132: * This accessor method returns a reference to the live list,
133: * not a snapshot. Therefore any modification you make to the
134: * returned list will be present inside the JAXB object.
135: * This is why there is not a <CODE>set</CODE> method for the options property.
136: *
137: * <p>
138: * For example, to add a new item, do as follows:
139: * <pre>
140: * getOptions().add(newItem);
141: * </pre>
142: *
143: *
144: * <p>
145: * Objects of the following type(s) are allowed in the list
146: * {@link FxSurfaceFormatHintOptionEnum }
147: *
148: *
149: */
150: public List<FxSurfaceFormatHintOptionEnum> getOptions() {
151: if (options == null) {
152: options = new ArrayList<FxSurfaceFormatHintOptionEnum>();
153: }
154: return this .options;
155: }
156:
157: /**
158: * Gets the value of the extras property.
159: *
160: * <p>
161: * This accessor method returns a reference to the live list,
162: * not a snapshot. Therefore any modification you make to the
163: * returned list will be present inside the JAXB object.
164: * This is why there is not a <CODE>set</CODE> method for the extras property.
165: *
166: * <p>
167: * For example, to add a new item, do as follows:
168: * <pre>
169: * getExtras().add(newItem);
170: * </pre>
171: *
172: *
173: * <p>
174: * Objects of the following type(s) are allowed in the list
175: * {@link Extra }
176: *
177: *
178: */
179: public List<Extra> getExtras() {
180: if (extras == null) {
181: extras = new ArrayList<Extra>();
182: }
183: return this.extras;
184: }
185:
186: }
|