0001: //
0002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
0003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
0004: // Any modifications to this file will be lost upon recompilation of the source schema.
0005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
0006: //
0007:
0008: package org.collada.colladaschema;
0009:
0010: import java.util.ArrayList;
0011: import java.util.List;
0012: import javax.xml.bind.annotation.XmlAccessType;
0013: import javax.xml.bind.annotation.XmlAccessorType;
0014: import javax.xml.bind.annotation.XmlAttribute;
0015: import javax.xml.bind.annotation.XmlElement;
0016: import javax.xml.bind.annotation.XmlElements;
0017: import javax.xml.bind.annotation.XmlID;
0018: import javax.xml.bind.annotation.XmlType;
0019: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
0020: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
0021:
0022: /**
0023: * <p>Java class for anonymous complex type.
0024: *
0025: * <p>The following schema fragment specifies the expected content contained within this class.
0026: *
0027: * <pre>
0028: * <complexType>
0029: * <complexContent>
0030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0031: * <sequence>
0032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
0033: * <choice maxOccurs="unbounded" minOccurs="0">
0034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}image"/>
0035: * <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}common_newparam_type"/>
0036: * </choice>
0037: * <element name="technique">
0038: * <complexType>
0039: * <complexContent>
0040: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0041: * <sequence>
0042: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
0043: * <choice maxOccurs="unbounded" minOccurs="0">
0044: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}image"/>
0045: * <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}common_newparam_type"/>
0046: * </choice>
0047: * <choice>
0048: * <element name="constant">
0049: * <complexType>
0050: * <complexContent>
0051: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0052: * <sequence>
0053: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0054: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0055: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0056: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0057: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0058: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0059: * </sequence>
0060: * </restriction>
0061: * </complexContent>
0062: * </complexType>
0063: * </element>
0064: * <element name="lambert">
0065: * <complexType>
0066: * <complexContent>
0067: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0068: * <sequence>
0069: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0070: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0071: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0072: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0073: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0074: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0075: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0076: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0077: * </sequence>
0078: * </restriction>
0079: * </complexContent>
0080: * </complexType>
0081: * </element>
0082: * <element name="phong">
0083: * <complexType>
0084: * <complexContent>
0085: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0086: * <sequence>
0087: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0088: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0089: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0090: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0091: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0092: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0093: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0094: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0095: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0096: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0097: * </sequence>
0098: * </restriction>
0099: * </complexContent>
0100: * </complexType>
0101: * </element>
0102: * <element name="blinn">
0103: * <complexType>
0104: * <complexContent>
0105: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0106: * <sequence>
0107: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0108: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0109: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0110: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0111: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0112: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0113: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0114: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0115: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0116: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0117: * </sequence>
0118: * </restriction>
0119: * </complexContent>
0120: * </complexType>
0121: * </element>
0122: * </choice>
0123: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0124: * </sequence>
0125: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
0126: * <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0127: * </restriction>
0128: * </complexContent>
0129: * </complexType>
0130: * </element>
0131: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0132: * </sequence>
0133: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
0134: * </restriction>
0135: * </complexContent>
0136: * </complexType>
0137: * </pre>
0138: *
0139: *
0140: */
0141: @XmlAccessorType(XmlAccessType.FIELD)
0142: @XmlType(name="",propOrder={"asset","imagesAndNewparams","technique","extras"})
0143: public class ProfileCOMMON {
0144:
0145: protected Asset asset;
0146: @XmlElements({@XmlElement(name="newparam",type=CommonNewparamType.class),@XmlElement(name="image",type=Image.class)})
0147: protected List<Object> imagesAndNewparams;
0148: @XmlElement(required=true)
0149: protected ProfileCOMMON.Technique technique;
0150: @XmlElement(name="extra")
0151: protected List<Extra> extras;
0152: @XmlAttribute
0153: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0154: @XmlID
0155: protected String id;
0156:
0157: /**
0158: * Gets the value of the asset property.
0159: *
0160: * @return
0161: * possible object is
0162: * {@link Asset }
0163: *
0164: */
0165: public Asset getAsset() {
0166: return asset;
0167: }
0168:
0169: /**
0170: * Sets the value of the asset property.
0171: *
0172: * @param value
0173: * allowed object is
0174: * {@link Asset }
0175: *
0176: */
0177: public void setAsset(Asset value) {
0178: this .asset = value;
0179: }
0180:
0181: /**
0182: * Gets the value of the imagesAndNewparams property.
0183: *
0184: * <p>
0185: * This accessor method returns a reference to the live list,
0186: * not a snapshot. Therefore any modification you make to the
0187: * returned list will be present inside the JAXB object.
0188: * This is why there is not a <CODE>set</CODE> method for the imagesAndNewparams property.
0189: *
0190: * <p>
0191: * For example, to add a new item, do as follows:
0192: * <pre>
0193: * getImagesAndNewparams().add(newItem);
0194: * </pre>
0195: *
0196: *
0197: * <p>
0198: * Objects of the following type(s) are allowed in the list
0199: * {@link CommonNewparamType }
0200: * {@link Image }
0201: *
0202: *
0203: */
0204: public List<Object> getImagesAndNewparams() {
0205: if (imagesAndNewparams == null) {
0206: imagesAndNewparams = new ArrayList<Object>();
0207: }
0208: return this .imagesAndNewparams;
0209: }
0210:
0211: /**
0212: * Gets the value of the technique property.
0213: *
0214: * @return
0215: * possible object is
0216: * {@link ProfileCOMMON.Technique }
0217: *
0218: */
0219: public ProfileCOMMON.Technique getTechnique() {
0220: return technique;
0221: }
0222:
0223: /**
0224: * Sets the value of the technique property.
0225: *
0226: * @param value
0227: * allowed object is
0228: * {@link ProfileCOMMON.Technique }
0229: *
0230: */
0231: public void setTechnique(ProfileCOMMON.Technique value) {
0232: this .technique = value;
0233: }
0234:
0235: /**
0236: *
0237: * The extra element may appear any number of times.
0238: * Gets the value of the extras property.
0239: *
0240: * <p>
0241: * This accessor method returns a reference to the live list,
0242: * not a snapshot. Therefore any modification you make to the
0243: * returned list will be present inside the JAXB object.
0244: * This is why there is not a <CODE>set</CODE> method for the extras property.
0245: *
0246: * <p>
0247: * For example, to add a new item, do as follows:
0248: * <pre>
0249: * getExtras().add(newItem);
0250: * </pre>
0251: *
0252: *
0253: * <p>
0254: * Objects of the following type(s) are allowed in the list
0255: * {@link Extra }
0256: *
0257: *
0258: */
0259: public List<Extra> getExtras() {
0260: if (extras == null) {
0261: extras = new ArrayList<Extra>();
0262: }
0263: return this .extras;
0264: }
0265:
0266: /**
0267: * Gets the value of the id property.
0268: *
0269: * @return
0270: * possible object is
0271: * {@link String }
0272: *
0273: */
0274: public String getId() {
0275: return id;
0276: }
0277:
0278: /**
0279: * Sets the value of the id property.
0280: *
0281: * @param value
0282: * allowed object is
0283: * {@link String }
0284: *
0285: */
0286: public void setId(String value) {
0287: this .id = value;
0288: }
0289:
0290: /**
0291: * <p>Java class for anonymous complex type.
0292: *
0293: * <p>The following schema fragment specifies the expected content contained within this class.
0294: *
0295: * <pre>
0296: * <complexType>
0297: * <complexContent>
0298: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0299: * <sequence>
0300: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
0301: * <choice maxOccurs="unbounded" minOccurs="0">
0302: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}image"/>
0303: * <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}common_newparam_type"/>
0304: * </choice>
0305: * <choice>
0306: * <element name="constant">
0307: * <complexType>
0308: * <complexContent>
0309: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0310: * <sequence>
0311: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0312: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0313: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0314: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0315: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0316: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0317: * </sequence>
0318: * </restriction>
0319: * </complexContent>
0320: * </complexType>
0321: * </element>
0322: * <element name="lambert">
0323: * <complexType>
0324: * <complexContent>
0325: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0326: * <sequence>
0327: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0328: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0329: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0330: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0331: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0332: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0333: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0334: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0335: * </sequence>
0336: * </restriction>
0337: * </complexContent>
0338: * </complexType>
0339: * </element>
0340: * <element name="phong">
0341: * <complexType>
0342: * <complexContent>
0343: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0344: * <sequence>
0345: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0346: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0347: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0348: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0349: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0350: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0351: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0352: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0353: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0354: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0355: * </sequence>
0356: * </restriction>
0357: * </complexContent>
0358: * </complexType>
0359: * </element>
0360: * <element name="blinn">
0361: * <complexType>
0362: * <complexContent>
0363: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0364: * <sequence>
0365: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0366: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0367: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0368: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0369: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0370: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0371: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0372: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0373: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0374: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0375: * </sequence>
0376: * </restriction>
0377: * </complexContent>
0378: * </complexType>
0379: * </element>
0380: * </choice>
0381: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
0382: * </sequence>
0383: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
0384: * <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
0385: * </restriction>
0386: * </complexContent>
0387: * </complexType>
0388: * </pre>
0389: *
0390: *
0391: */
0392: @XmlAccessorType(XmlAccessType.FIELD)
0393: @XmlType(name="",propOrder={"asset","imagesAndNewparams","constant","blinn","lambert","phong","extras"})
0394: public static class Technique {
0395:
0396: protected Asset asset;
0397: @XmlElements({@XmlElement(name="newparam",type=CommonNewparamType.class),@XmlElement(name="image",type=Image.class)})
0398: protected List<Object> imagesAndNewparams;
0399: protected ProfileCOMMON.Technique.Constant constant;
0400: protected ProfileCOMMON.Technique.Blinn blinn;
0401: protected ProfileCOMMON.Technique.Lambert lambert;
0402: protected ProfileCOMMON.Technique.Phong phong;
0403: @XmlElement(name="extra")
0404: protected List<Extra> extras;
0405: @XmlAttribute
0406: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0407: @XmlID
0408: protected String id;
0409: @XmlAttribute(required=true)
0410: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
0411: protected String sid;
0412:
0413: /**
0414: *
0415: * The technique element may contain an asset element.
0416: *
0417: *
0418: * @return
0419: * possible object is
0420: * {@link Asset }
0421: *
0422: */
0423: public Asset getAsset() {
0424: return asset;
0425: }
0426:
0427: /**
0428: *
0429: * The technique element may contain an asset element.
0430: *
0431: *
0432: * @param value
0433: * allowed object is
0434: * {@link Asset }
0435: *
0436: */
0437: public void setAsset(Asset value) {
0438: this .asset = value;
0439: }
0440:
0441: /**
0442: * Gets the value of the imagesAndNewparams property.
0443: *
0444: * <p>
0445: * This accessor method returns a reference to the live list,
0446: * not a snapshot. Therefore any modification you make to the
0447: * returned list will be present inside the JAXB object.
0448: * This is why there is not a <CODE>set</CODE> method for the imagesAndNewparams property.
0449: *
0450: * <p>
0451: * For example, to add a new item, do as follows:
0452: * <pre>
0453: * getImagesAndNewparams().add(newItem);
0454: * </pre>
0455: *
0456: *
0457: * <p>
0458: * Objects of the following type(s) are allowed in the list
0459: * {@link CommonNewparamType }
0460: * {@link Image }
0461: *
0462: *
0463: */
0464: public List<Object> getImagesAndNewparams() {
0465: if (imagesAndNewparams == null) {
0466: imagesAndNewparams = new ArrayList<Object>();
0467: }
0468: return this .imagesAndNewparams;
0469: }
0470:
0471: /**
0472: * Gets the value of the constant property.
0473: *
0474: * @return
0475: * possible object is
0476: * {@link ProfileCOMMON.Technique.Constant }
0477: *
0478: */
0479: public ProfileCOMMON.Technique.Constant getConstant() {
0480: return constant;
0481: }
0482:
0483: /**
0484: * Sets the value of the constant property.
0485: *
0486: * @param value
0487: * allowed object is
0488: * {@link ProfileCOMMON.Technique.Constant }
0489: *
0490: */
0491: public void setConstant(ProfileCOMMON.Technique.Constant value) {
0492: this .constant = value;
0493: }
0494:
0495: /**
0496: * Gets the value of the blinn property.
0497: *
0498: * @return
0499: * possible object is
0500: * {@link ProfileCOMMON.Technique.Blinn }
0501: *
0502: */
0503: public ProfileCOMMON.Technique.Blinn getBlinn() {
0504: return blinn;
0505: }
0506:
0507: /**
0508: * Sets the value of the blinn property.
0509: *
0510: * @param value
0511: * allowed object is
0512: * {@link ProfileCOMMON.Technique.Blinn }
0513: *
0514: */
0515: public void setBlinn(ProfileCOMMON.Technique.Blinn value) {
0516: this .blinn = value;
0517: }
0518:
0519: /**
0520: * Gets the value of the lambert property.
0521: *
0522: * @return
0523: * possible object is
0524: * {@link ProfileCOMMON.Technique.Lambert }
0525: *
0526: */
0527: public ProfileCOMMON.Technique.Lambert getLambert() {
0528: return lambert;
0529: }
0530:
0531: /**
0532: * Sets the value of the lambert property.
0533: *
0534: * @param value
0535: * allowed object is
0536: * {@link ProfileCOMMON.Technique.Lambert }
0537: *
0538: */
0539: public void setLambert(ProfileCOMMON.Technique.Lambert value) {
0540: this .lambert = value;
0541: }
0542:
0543: /**
0544: * Gets the value of the phong property.
0545: *
0546: * @return
0547: * possible object is
0548: * {@link ProfileCOMMON.Technique.Phong }
0549: *
0550: */
0551: public ProfileCOMMON.Technique.Phong getPhong() {
0552: return phong;
0553: }
0554:
0555: /**
0556: * Sets the value of the phong property.
0557: *
0558: * @param value
0559: * allowed object is
0560: * {@link ProfileCOMMON.Technique.Phong }
0561: *
0562: */
0563: public void setPhong(ProfileCOMMON.Technique.Phong value) {
0564: this .phong = value;
0565: }
0566:
0567: /**
0568: *
0569: * The extra element may appear any number of times.
0570: * Gets the value of the extras property.
0571: *
0572: * <p>
0573: * This accessor method returns a reference to the live list,
0574: * not a snapshot. Therefore any modification you make to the
0575: * returned list will be present inside the JAXB object.
0576: * This is why there is not a <CODE>set</CODE> method for the extras property.
0577: *
0578: * <p>
0579: * For example, to add a new item, do as follows:
0580: * <pre>
0581: * getExtras().add(newItem);
0582: * </pre>
0583: *
0584: *
0585: * <p>
0586: * Objects of the following type(s) are allowed in the list
0587: * {@link Extra }
0588: *
0589: *
0590: */
0591: public List<Extra> getExtras() {
0592: if (extras == null) {
0593: extras = new ArrayList<Extra>();
0594: }
0595: return this .extras;
0596: }
0597:
0598: /**
0599: * Gets the value of the id property.
0600: *
0601: * @return
0602: * possible object is
0603: * {@link String }
0604: *
0605: */
0606: public String getId() {
0607: return id;
0608: }
0609:
0610: /**
0611: * Sets the value of the id property.
0612: *
0613: * @param value
0614: * allowed object is
0615: * {@link String }
0616: *
0617: */
0618: public void setId(String value) {
0619: this .id = value;
0620: }
0621:
0622: /**
0623: * Gets the value of the sid property.
0624: *
0625: * @return
0626: * possible object is
0627: * {@link String }
0628: *
0629: */
0630: public String getSid() {
0631: return sid;
0632: }
0633:
0634: /**
0635: * Sets the value of the sid property.
0636: *
0637: * @param value
0638: * allowed object is
0639: * {@link String }
0640: *
0641: */
0642: public void setSid(String value) {
0643: this .sid = value;
0644: }
0645:
0646: /**
0647: * <p>Java class for anonymous complex type.
0648: *
0649: * <p>The following schema fragment specifies the expected content contained within this class.
0650: *
0651: * <pre>
0652: * <complexType>
0653: * <complexContent>
0654: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0655: * <sequence>
0656: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0657: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0658: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0659: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0660: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0661: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0662: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0663: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0664: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0665: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0666: * </sequence>
0667: * </restriction>
0668: * </complexContent>
0669: * </complexType>
0670: * </pre>
0671: *
0672: *
0673: */
0674: @XmlAccessorType(XmlAccessType.FIELD)
0675: @XmlType(name="",propOrder={"emission","ambient","diffuse","specular","shininess","reflective","reflectivity","transparent","transparency","indexOfRefraction"})
0676: public static class Blinn {
0677:
0678: protected CommonColorOrTextureType emission;
0679: protected CommonColorOrTextureType ambient;
0680: protected CommonColorOrTextureType diffuse;
0681: protected CommonColorOrTextureType specular;
0682: protected CommonFloatOrParamType shininess;
0683: protected CommonColorOrTextureType reflective;
0684: protected CommonFloatOrParamType reflectivity;
0685: protected CommonTransparentType transparent;
0686: protected CommonFloatOrParamType transparency;
0687: @XmlElement(name="index_of_refraction")
0688: protected CommonFloatOrParamType indexOfRefraction;
0689:
0690: /**
0691: * Gets the value of the emission property.
0692: *
0693: * @return
0694: * possible object is
0695: * {@link CommonColorOrTextureType }
0696: *
0697: */
0698: public CommonColorOrTextureType getEmission() {
0699: return emission;
0700: }
0701:
0702: /**
0703: * Sets the value of the emission property.
0704: *
0705: * @param value
0706: * allowed object is
0707: * {@link CommonColorOrTextureType }
0708: *
0709: */
0710: public void setEmission(CommonColorOrTextureType value) {
0711: this .emission = value;
0712: }
0713:
0714: /**
0715: * Gets the value of the ambient property.
0716: *
0717: * @return
0718: * possible object is
0719: * {@link CommonColorOrTextureType }
0720: *
0721: */
0722: public CommonColorOrTextureType getAmbient() {
0723: return ambient;
0724: }
0725:
0726: /**
0727: * Sets the value of the ambient property.
0728: *
0729: * @param value
0730: * allowed object is
0731: * {@link CommonColorOrTextureType }
0732: *
0733: */
0734: public void setAmbient(CommonColorOrTextureType value) {
0735: this .ambient = value;
0736: }
0737:
0738: /**
0739: * Gets the value of the diffuse property.
0740: *
0741: * @return
0742: * possible object is
0743: * {@link CommonColorOrTextureType }
0744: *
0745: */
0746: public CommonColorOrTextureType getDiffuse() {
0747: return diffuse;
0748: }
0749:
0750: /**
0751: * Sets the value of the diffuse property.
0752: *
0753: * @param value
0754: * allowed object is
0755: * {@link CommonColorOrTextureType }
0756: *
0757: */
0758: public void setDiffuse(CommonColorOrTextureType value) {
0759: this .diffuse = value;
0760: }
0761:
0762: /**
0763: * Gets the value of the specular property.
0764: *
0765: * @return
0766: * possible object is
0767: * {@link CommonColorOrTextureType }
0768: *
0769: */
0770: public CommonColorOrTextureType getSpecular() {
0771: return specular;
0772: }
0773:
0774: /**
0775: * Sets the value of the specular property.
0776: *
0777: * @param value
0778: * allowed object is
0779: * {@link CommonColorOrTextureType }
0780: *
0781: */
0782: public void setSpecular(CommonColorOrTextureType value) {
0783: this .specular = value;
0784: }
0785:
0786: /**
0787: * Gets the value of the shininess property.
0788: *
0789: * @return
0790: * possible object is
0791: * {@link CommonFloatOrParamType }
0792: *
0793: */
0794: public CommonFloatOrParamType getShininess() {
0795: return shininess;
0796: }
0797:
0798: /**
0799: * Sets the value of the shininess property.
0800: *
0801: * @param value
0802: * allowed object is
0803: * {@link CommonFloatOrParamType }
0804: *
0805: */
0806: public void setShininess(CommonFloatOrParamType value) {
0807: this .shininess = value;
0808: }
0809:
0810: /**
0811: * Gets the value of the reflective property.
0812: *
0813: * @return
0814: * possible object is
0815: * {@link CommonColorOrTextureType }
0816: *
0817: */
0818: public CommonColorOrTextureType getReflective() {
0819: return reflective;
0820: }
0821:
0822: /**
0823: * Sets the value of the reflective property.
0824: *
0825: * @param value
0826: * allowed object is
0827: * {@link CommonColorOrTextureType }
0828: *
0829: */
0830: public void setReflective(CommonColorOrTextureType value) {
0831: this .reflective = value;
0832: }
0833:
0834: /**
0835: * Gets the value of the reflectivity property.
0836: *
0837: * @return
0838: * possible object is
0839: * {@link CommonFloatOrParamType }
0840: *
0841: */
0842: public CommonFloatOrParamType getReflectivity() {
0843: return reflectivity;
0844: }
0845:
0846: /**
0847: * Sets the value of the reflectivity property.
0848: *
0849: * @param value
0850: * allowed object is
0851: * {@link CommonFloatOrParamType }
0852: *
0853: */
0854: public void setReflectivity(CommonFloatOrParamType value) {
0855: this .reflectivity = value;
0856: }
0857:
0858: /**
0859: * Gets the value of the transparent property.
0860: *
0861: * @return
0862: * possible object is
0863: * {@link CommonTransparentType }
0864: *
0865: */
0866: public CommonTransparentType getTransparent() {
0867: return transparent;
0868: }
0869:
0870: /**
0871: * Sets the value of the transparent property.
0872: *
0873: * @param value
0874: * allowed object is
0875: * {@link CommonTransparentType }
0876: *
0877: */
0878: public void setTransparent(CommonTransparentType value) {
0879: this .transparent = value;
0880: }
0881:
0882: /**
0883: * Gets the value of the transparency property.
0884: *
0885: * @return
0886: * possible object is
0887: * {@link CommonFloatOrParamType }
0888: *
0889: */
0890: public CommonFloatOrParamType getTransparency() {
0891: return transparency;
0892: }
0893:
0894: /**
0895: * Sets the value of the transparency property.
0896: *
0897: * @param value
0898: * allowed object is
0899: * {@link CommonFloatOrParamType }
0900: *
0901: */
0902: public void setTransparency(CommonFloatOrParamType value) {
0903: this .transparency = value;
0904: }
0905:
0906: /**
0907: * Gets the value of the indexOfRefraction property.
0908: *
0909: * @return
0910: * possible object is
0911: * {@link CommonFloatOrParamType }
0912: *
0913: */
0914: public CommonFloatOrParamType getIndexOfRefraction() {
0915: return indexOfRefraction;
0916: }
0917:
0918: /**
0919: * Sets the value of the indexOfRefraction property.
0920: *
0921: * @param value
0922: * allowed object is
0923: * {@link CommonFloatOrParamType }
0924: *
0925: */
0926: public void setIndexOfRefraction(
0927: CommonFloatOrParamType value) {
0928: this .indexOfRefraction = value;
0929: }
0930:
0931: }
0932:
0933: /**
0934: * <p>Java class for anonymous complex type.
0935: *
0936: * <p>The following schema fragment specifies the expected content contained within this class.
0937: *
0938: * <pre>
0939: * <complexType>
0940: * <complexContent>
0941: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
0942: * <sequence>
0943: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0944: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
0945: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0946: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
0947: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0948: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
0949: * </sequence>
0950: * </restriction>
0951: * </complexContent>
0952: * </complexType>
0953: * </pre>
0954: *
0955: *
0956: */
0957: @XmlAccessorType(XmlAccessType.FIELD)
0958: @XmlType(name="",propOrder={"emission","reflective","reflectivity","transparent","transparency","indexOfRefraction"})
0959: public static class Constant {
0960:
0961: protected CommonColorOrTextureType emission;
0962: protected CommonColorOrTextureType reflective;
0963: protected CommonFloatOrParamType reflectivity;
0964: protected CommonTransparentType transparent;
0965: protected CommonFloatOrParamType transparency;
0966: @XmlElement(name="index_of_refraction")
0967: protected CommonFloatOrParamType indexOfRefraction;
0968:
0969: /**
0970: * Gets the value of the emission property.
0971: *
0972: * @return
0973: * possible object is
0974: * {@link CommonColorOrTextureType }
0975: *
0976: */
0977: public CommonColorOrTextureType getEmission() {
0978: return emission;
0979: }
0980:
0981: /**
0982: * Sets the value of the emission property.
0983: *
0984: * @param value
0985: * allowed object is
0986: * {@link CommonColorOrTextureType }
0987: *
0988: */
0989: public void setEmission(CommonColorOrTextureType value) {
0990: this .emission = value;
0991: }
0992:
0993: /**
0994: * Gets the value of the reflective property.
0995: *
0996: * @return
0997: * possible object is
0998: * {@link CommonColorOrTextureType }
0999: *
1000: */
1001: public CommonColorOrTextureType getReflective() {
1002: return reflective;
1003: }
1004:
1005: /**
1006: * Sets the value of the reflective property.
1007: *
1008: * @param value
1009: * allowed object is
1010: * {@link CommonColorOrTextureType }
1011: *
1012: */
1013: public void setReflective(CommonColorOrTextureType value) {
1014: this .reflective = value;
1015: }
1016:
1017: /**
1018: * Gets the value of the reflectivity property.
1019: *
1020: * @return
1021: * possible object is
1022: * {@link CommonFloatOrParamType }
1023: *
1024: */
1025: public CommonFloatOrParamType getReflectivity() {
1026: return reflectivity;
1027: }
1028:
1029: /**
1030: * Sets the value of the reflectivity property.
1031: *
1032: * @param value
1033: * allowed object is
1034: * {@link CommonFloatOrParamType }
1035: *
1036: */
1037: public void setReflectivity(CommonFloatOrParamType value) {
1038: this .reflectivity = value;
1039: }
1040:
1041: /**
1042: * Gets the value of the transparent property.
1043: *
1044: * @return
1045: * possible object is
1046: * {@link CommonTransparentType }
1047: *
1048: */
1049: public CommonTransparentType getTransparent() {
1050: return transparent;
1051: }
1052:
1053: /**
1054: * Sets the value of the transparent property.
1055: *
1056: * @param value
1057: * allowed object is
1058: * {@link CommonTransparentType }
1059: *
1060: */
1061: public void setTransparent(CommonTransparentType value) {
1062: this .transparent = value;
1063: }
1064:
1065: /**
1066: * Gets the value of the transparency property.
1067: *
1068: * @return
1069: * possible object is
1070: * {@link CommonFloatOrParamType }
1071: *
1072: */
1073: public CommonFloatOrParamType getTransparency() {
1074: return transparency;
1075: }
1076:
1077: /**
1078: * Sets the value of the transparency property.
1079: *
1080: * @param value
1081: * allowed object is
1082: * {@link CommonFloatOrParamType }
1083: *
1084: */
1085: public void setTransparency(CommonFloatOrParamType value) {
1086: this .transparency = value;
1087: }
1088:
1089: /**
1090: * Gets the value of the indexOfRefraction property.
1091: *
1092: * @return
1093: * possible object is
1094: * {@link CommonFloatOrParamType }
1095: *
1096: */
1097: public CommonFloatOrParamType getIndexOfRefraction() {
1098: return indexOfRefraction;
1099: }
1100:
1101: /**
1102: * Sets the value of the indexOfRefraction property.
1103: *
1104: * @param value
1105: * allowed object is
1106: * {@link CommonFloatOrParamType }
1107: *
1108: */
1109: public void setIndexOfRefraction(
1110: CommonFloatOrParamType value) {
1111: this .indexOfRefraction = value;
1112: }
1113:
1114: }
1115:
1116: /**
1117: * <p>Java class for anonymous complex type.
1118: *
1119: * <p>The following schema fragment specifies the expected content contained within this class.
1120: *
1121: * <pre>
1122: * <complexType>
1123: * <complexContent>
1124: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1125: * <sequence>
1126: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1127: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1128: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1129: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1130: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1131: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
1132: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1133: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1134: * </sequence>
1135: * </restriction>
1136: * </complexContent>
1137: * </complexType>
1138: * </pre>
1139: *
1140: *
1141: */
1142: @XmlAccessorType(XmlAccessType.FIELD)
1143: @XmlType(name="",propOrder={"emission","ambient","diffuse","reflective","reflectivity","transparent","transparency","indexOfRefraction"})
1144: public static class Lambert {
1145:
1146: protected CommonColorOrTextureType emission;
1147: protected CommonColorOrTextureType ambient;
1148: protected CommonColorOrTextureType diffuse;
1149: protected CommonColorOrTextureType reflective;
1150: protected CommonFloatOrParamType reflectivity;
1151: protected CommonTransparentType transparent;
1152: protected CommonFloatOrParamType transparency;
1153: @XmlElement(name="index_of_refraction")
1154: protected CommonFloatOrParamType indexOfRefraction;
1155:
1156: /**
1157: * Gets the value of the emission property.
1158: *
1159: * @return
1160: * possible object is
1161: * {@link CommonColorOrTextureType }
1162: *
1163: */
1164: public CommonColorOrTextureType getEmission() {
1165: return emission;
1166: }
1167:
1168: /**
1169: * Sets the value of the emission property.
1170: *
1171: * @param value
1172: * allowed object is
1173: * {@link CommonColorOrTextureType }
1174: *
1175: */
1176: public void setEmission(CommonColorOrTextureType value) {
1177: this .emission = value;
1178: }
1179:
1180: /**
1181: * Gets the value of the ambient property.
1182: *
1183: * @return
1184: * possible object is
1185: * {@link CommonColorOrTextureType }
1186: *
1187: */
1188: public CommonColorOrTextureType getAmbient() {
1189: return ambient;
1190: }
1191:
1192: /**
1193: * Sets the value of the ambient property.
1194: *
1195: * @param value
1196: * allowed object is
1197: * {@link CommonColorOrTextureType }
1198: *
1199: */
1200: public void setAmbient(CommonColorOrTextureType value) {
1201: this .ambient = value;
1202: }
1203:
1204: /**
1205: * Gets the value of the diffuse property.
1206: *
1207: * @return
1208: * possible object is
1209: * {@link CommonColorOrTextureType }
1210: *
1211: */
1212: public CommonColorOrTextureType getDiffuse() {
1213: return diffuse;
1214: }
1215:
1216: /**
1217: * Sets the value of the diffuse property.
1218: *
1219: * @param value
1220: * allowed object is
1221: * {@link CommonColorOrTextureType }
1222: *
1223: */
1224: public void setDiffuse(CommonColorOrTextureType value) {
1225: this .diffuse = value;
1226: }
1227:
1228: /**
1229: * Gets the value of the reflective property.
1230: *
1231: * @return
1232: * possible object is
1233: * {@link CommonColorOrTextureType }
1234: *
1235: */
1236: public CommonColorOrTextureType getReflective() {
1237: return reflective;
1238: }
1239:
1240: /**
1241: * Sets the value of the reflective property.
1242: *
1243: * @param value
1244: * allowed object is
1245: * {@link CommonColorOrTextureType }
1246: *
1247: */
1248: public void setReflective(CommonColorOrTextureType value) {
1249: this .reflective = value;
1250: }
1251:
1252: /**
1253: * Gets the value of the reflectivity property.
1254: *
1255: * @return
1256: * possible object is
1257: * {@link CommonFloatOrParamType }
1258: *
1259: */
1260: public CommonFloatOrParamType getReflectivity() {
1261: return reflectivity;
1262: }
1263:
1264: /**
1265: * Sets the value of the reflectivity property.
1266: *
1267: * @param value
1268: * allowed object is
1269: * {@link CommonFloatOrParamType }
1270: *
1271: */
1272: public void setReflectivity(CommonFloatOrParamType value) {
1273: this .reflectivity = value;
1274: }
1275:
1276: /**
1277: * Gets the value of the transparent property.
1278: *
1279: * @return
1280: * possible object is
1281: * {@link CommonTransparentType }
1282: *
1283: */
1284: public CommonTransparentType getTransparent() {
1285: return transparent;
1286: }
1287:
1288: /**
1289: * Sets the value of the transparent property.
1290: *
1291: * @param value
1292: * allowed object is
1293: * {@link CommonTransparentType }
1294: *
1295: */
1296: public void setTransparent(CommonTransparentType value) {
1297: this .transparent = value;
1298: }
1299:
1300: /**
1301: * Gets the value of the transparency property.
1302: *
1303: * @return
1304: * possible object is
1305: * {@link CommonFloatOrParamType }
1306: *
1307: */
1308: public CommonFloatOrParamType getTransparency() {
1309: return transparency;
1310: }
1311:
1312: /**
1313: * Sets the value of the transparency property.
1314: *
1315: * @param value
1316: * allowed object is
1317: * {@link CommonFloatOrParamType }
1318: *
1319: */
1320: public void setTransparency(CommonFloatOrParamType value) {
1321: this .transparency = value;
1322: }
1323:
1324: /**
1325: * Gets the value of the indexOfRefraction property.
1326: *
1327: * @return
1328: * possible object is
1329: * {@link CommonFloatOrParamType }
1330: *
1331: */
1332: public CommonFloatOrParamType getIndexOfRefraction() {
1333: return indexOfRefraction;
1334: }
1335:
1336: /**
1337: * Sets the value of the indexOfRefraction property.
1338: *
1339: * @param value
1340: * allowed object is
1341: * {@link CommonFloatOrParamType }
1342: *
1343: */
1344: public void setIndexOfRefraction(
1345: CommonFloatOrParamType value) {
1346: this .indexOfRefraction = value;
1347: }
1348:
1349: }
1350:
1351: /**
1352: * <p>Java class for anonymous complex type.
1353: *
1354: * <p>The following schema fragment specifies the expected content contained within this class.
1355: *
1356: * <pre>
1357: * <complexType>
1358: * <complexContent>
1359: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1360: * <sequence>
1361: * <element name="emission" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1362: * <element name="ambient" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1363: * <element name="diffuse" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1364: * <element name="specular" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1365: * <element name="shininess" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1366: * <element name="reflective" type="{http://www.collada.org/2005/11/COLLADASchema}common_color_or_texture_type" minOccurs="0"/>
1367: * <element name="reflectivity" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1368: * <element name="transparent" type="{http://www.collada.org/2005/11/COLLADASchema}common_transparent_type" minOccurs="0"/>
1369: * <element name="transparency" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1370: * <element name="index_of_refraction" type="{http://www.collada.org/2005/11/COLLADASchema}common_float_or_param_type" minOccurs="0"/>
1371: * </sequence>
1372: * </restriction>
1373: * </complexContent>
1374: * </complexType>
1375: * </pre>
1376: *
1377: *
1378: */
1379: @XmlAccessorType(XmlAccessType.FIELD)
1380: @XmlType(name="",propOrder={"emission","ambient","diffuse","specular","shininess","reflective","reflectivity","transparent","transparency","indexOfRefraction"})
1381: public static class Phong {
1382:
1383: protected CommonColorOrTextureType emission;
1384: protected CommonColorOrTextureType ambient;
1385: protected CommonColorOrTextureType diffuse;
1386: protected CommonColorOrTextureType specular;
1387: protected CommonFloatOrParamType shininess;
1388: protected CommonColorOrTextureType reflective;
1389: protected CommonFloatOrParamType reflectivity;
1390: protected CommonTransparentType transparent;
1391: protected CommonFloatOrParamType transparency;
1392: @XmlElement(name="index_of_refraction")
1393: protected CommonFloatOrParamType indexOfRefraction;
1394:
1395: /**
1396: * Gets the value of the emission property.
1397: *
1398: * @return
1399: * possible object is
1400: * {@link CommonColorOrTextureType }
1401: *
1402: */
1403: public CommonColorOrTextureType getEmission() {
1404: return emission;
1405: }
1406:
1407: /**
1408: * Sets the value of the emission property.
1409: *
1410: * @param value
1411: * allowed object is
1412: * {@link CommonColorOrTextureType }
1413: *
1414: */
1415: public void setEmission(CommonColorOrTextureType value) {
1416: this .emission = value;
1417: }
1418:
1419: /**
1420: * Gets the value of the ambient property.
1421: *
1422: * @return
1423: * possible object is
1424: * {@link CommonColorOrTextureType }
1425: *
1426: */
1427: public CommonColorOrTextureType getAmbient() {
1428: return ambient;
1429: }
1430:
1431: /**
1432: * Sets the value of the ambient property.
1433: *
1434: * @param value
1435: * allowed object is
1436: * {@link CommonColorOrTextureType }
1437: *
1438: */
1439: public void setAmbient(CommonColorOrTextureType value) {
1440: this .ambient = value;
1441: }
1442:
1443: /**
1444: * Gets the value of the diffuse property.
1445: *
1446: * @return
1447: * possible object is
1448: * {@link CommonColorOrTextureType }
1449: *
1450: */
1451: public CommonColorOrTextureType getDiffuse() {
1452: return diffuse;
1453: }
1454:
1455: /**
1456: * Sets the value of the diffuse property.
1457: *
1458: * @param value
1459: * allowed object is
1460: * {@link CommonColorOrTextureType }
1461: *
1462: */
1463: public void setDiffuse(CommonColorOrTextureType value) {
1464: this .diffuse = value;
1465: }
1466:
1467: /**
1468: * Gets the value of the specular property.
1469: *
1470: * @return
1471: * possible object is
1472: * {@link CommonColorOrTextureType }
1473: *
1474: */
1475: public CommonColorOrTextureType getSpecular() {
1476: return specular;
1477: }
1478:
1479: /**
1480: * Sets the value of the specular property.
1481: *
1482: * @param value
1483: * allowed object is
1484: * {@link CommonColorOrTextureType }
1485: *
1486: */
1487: public void setSpecular(CommonColorOrTextureType value) {
1488: this .specular = value;
1489: }
1490:
1491: /**
1492: * Gets the value of the shininess property.
1493: *
1494: * @return
1495: * possible object is
1496: * {@link CommonFloatOrParamType }
1497: *
1498: */
1499: public CommonFloatOrParamType getShininess() {
1500: return shininess;
1501: }
1502:
1503: /**
1504: * Sets the value of the shininess property.
1505: *
1506: * @param value
1507: * allowed object is
1508: * {@link CommonFloatOrParamType }
1509: *
1510: */
1511: public void setShininess(CommonFloatOrParamType value) {
1512: this .shininess = value;
1513: }
1514:
1515: /**
1516: * Gets the value of the reflective property.
1517: *
1518: * @return
1519: * possible object is
1520: * {@link CommonColorOrTextureType }
1521: *
1522: */
1523: public CommonColorOrTextureType getReflective() {
1524: return reflective;
1525: }
1526:
1527: /**
1528: * Sets the value of the reflective property.
1529: *
1530: * @param value
1531: * allowed object is
1532: * {@link CommonColorOrTextureType }
1533: *
1534: */
1535: public void setReflective(CommonColorOrTextureType value) {
1536: this .reflective = value;
1537: }
1538:
1539: /**
1540: * Gets the value of the reflectivity property.
1541: *
1542: * @return
1543: * possible object is
1544: * {@link CommonFloatOrParamType }
1545: *
1546: */
1547: public CommonFloatOrParamType getReflectivity() {
1548: return reflectivity;
1549: }
1550:
1551: /**
1552: * Sets the value of the reflectivity property.
1553: *
1554: * @param value
1555: * allowed object is
1556: * {@link CommonFloatOrParamType }
1557: *
1558: */
1559: public void setReflectivity(CommonFloatOrParamType value) {
1560: this .reflectivity = value;
1561: }
1562:
1563: /**
1564: * Gets the value of the transparent property.
1565: *
1566: * @return
1567: * possible object is
1568: * {@link CommonTransparentType }
1569: *
1570: */
1571: public CommonTransparentType getTransparent() {
1572: return transparent;
1573: }
1574:
1575: /**
1576: * Sets the value of the transparent property.
1577: *
1578: * @param value
1579: * allowed object is
1580: * {@link CommonTransparentType }
1581: *
1582: */
1583: public void setTransparent(CommonTransparentType value) {
1584: this .transparent = value;
1585: }
1586:
1587: /**
1588: * Gets the value of the transparency property.
1589: *
1590: * @return
1591: * possible object is
1592: * {@link CommonFloatOrParamType }
1593: *
1594: */
1595: public CommonFloatOrParamType getTransparency() {
1596: return transparency;
1597: }
1598:
1599: /**
1600: * Sets the value of the transparency property.
1601: *
1602: * @param value
1603: * allowed object is
1604: * {@link CommonFloatOrParamType }
1605: *
1606: */
1607: public void setTransparency(CommonFloatOrParamType value) {
1608: this .transparency = value;
1609: }
1610:
1611: /**
1612: * Gets the value of the indexOfRefraction property.
1613: *
1614: * @return
1615: * possible object is
1616: * {@link CommonFloatOrParamType }
1617: *
1618: */
1619: public CommonFloatOrParamType getIndexOfRefraction() {
1620: return indexOfRefraction;
1621: }
1622:
1623: /**
1624: * Sets the value of the indexOfRefraction property.
1625: *
1626: * @param value
1627: * allowed object is
1628: * {@link CommonFloatOrParamType }
1629: *
1630: */
1631: public void setIndexOfRefraction(
1632: CommonFloatOrParamType value) {
1633: this.indexOfRefraction = value;
1634: }
1635:
1636: }
1637:
1638: }
1639:
1640: }
|