Class MaterialType

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

    public class MaterialType
    extends AbstractAppearanceType
    implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
    Deprecated since CityGML version 0.4.0. Use the concepts of the CityGML Appearance module instead. Adopted from X3D standard (http://www.web3d.org/x3d/)

    Java class for MaterialType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="MaterialType">
       <complexContent>
         <extension base="{http://www.opengis.net/citygml/texturedsurface/2.0}AbstractAppearanceType">
           <sequence>
             <element name="shininess" type="{http://www.opengis.net/citygml/2.0}doubleBetween0and1" minOccurs="0"/>
             <element name="transparency" type="{http://www.opengis.net/citygml/2.0}doubleBetween0and1" minOccurs="0"/>
             <element name="ambientIntensity" type="{http://www.opengis.net/citygml/2.0}doubleBetween0and1" minOccurs="0"/>
             <element name="specularColor" type="{http://www.opengis.net/citygml/texturedsurface/2.0}Color" minOccurs="0"/>
             <element name="diffuseColor" type="{http://www.opengis.net/citygml/texturedsurface/2.0}Color" minOccurs="0"/>
             <element name="emissiveColor" type="{http://www.opengis.net/citygml/texturedsurface/2.0}Color" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • shininess

        protected Double shininess
      • transparency

        protected Double transparency
      • ambientIntensity

        protected Double ambientIntensity
      • specularColor

        protected List<Double> specularColor
      • diffuseColor

        protected List<Double> diffuseColor
      • emissiveColor

        protected List<Double> emissiveColor
    • Constructor Detail

      • MaterialType

        public MaterialType()
        Default no-arg constructor
    • Method Detail

      • getShininess

        public Double getShininess()
        Gets the value of the shininess property.
        Returns:
        possible object is Double
      • setShininess

        public void setShininess​(Double value)
        Sets the value of the shininess property.
        Parameters:
        value - allowed object is Double
      • isSetShininess

        public boolean isSetShininess()
      • getTransparency

        public Double getTransparency()
        Gets the value of the transparency property.
        Returns:
        possible object is Double
      • setTransparency

        public void setTransparency​(Double value)
        Sets the value of the transparency property.
        Parameters:
        value - allowed object is Double
      • isSetTransparency

        public boolean isSetTransparency()
      • getAmbientIntensity

        public Double getAmbientIntensity()
        Gets the value of the ambientIntensity property.
        Returns:
        possible object is Double
      • setAmbientIntensity

        public void setAmbientIntensity​(Double value)
        Sets the value of the ambientIntensity property.
        Parameters:
        value - allowed object is Double
      • isSetAmbientIntensity

        public boolean isSetAmbientIntensity()
      • getSpecularColor

        public List<Double> getSpecularColor()
        Gets the value of the specularColor property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the specularColor property.

        For example, to add a new item, do as follows:

            getSpecularColor().add(newItem);
         

        Objects of the following type(s) are allowed in the list Double

      • isSetSpecularColor

        public boolean isSetSpecularColor()
      • unsetSpecularColor

        public void unsetSpecularColor()
      • getDiffuseColor

        public List<Double> getDiffuseColor()
        Gets the value of the diffuseColor property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the diffuseColor property.

        For example, to add a new item, do as follows:

            getDiffuseColor().add(newItem);
         

        Objects of the following type(s) are allowed in the list Double

      • isSetDiffuseColor

        public boolean isSetDiffuseColor()
      • unsetDiffuseColor

        public void unsetDiffuseColor()
      • getEmissiveColor

        public List<Double> getEmissiveColor()
        Gets the value of the emissiveColor property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the emissiveColor property.

        For example, to add a new item, do as follows:

            getEmissiveColor().add(newItem);
         

        Objects of the following type(s) are allowed in the list Double

      • isSetEmissiveColor

        public boolean isSetEmissiveColor()
      • unsetEmissiveColor

        public void unsetEmissiveColor()
      • append

        public StringBuilder append​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        append in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        append in class AbstractAppearanceType
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        appendFields in class AbstractAppearanceType
      • equals

        public boolean equals​(org.jvnet.jaxb.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb.lang.Equals
        Overrides:
        equals in class AbstractAppearanceType
      • hashCode

        public int hashCode​(org.jvnet.jaxb.locator.ObjectLocator locator,
                            org.jvnet.jaxb.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb.lang.HashCode
        Overrides:
        hashCode in class AbstractAppearanceType
      • copyTo

        public Object copyTo​(org.jvnet.jaxb.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb.lang.CopyStrategy strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
        Overrides:
        copyTo in class AbstractAppearanceType
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
      • mergeFrom

        public void mergeFrom​(org.jvnet.jaxb.locator.ObjectLocator leftLocator,
                              org.jvnet.jaxb.locator.ObjectLocator rightLocator,
                              Object left,
                              Object right,
                              org.jvnet.jaxb.lang.MergeStrategy strategy)
        Specified by:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        mergeFrom in class AbstractAppearanceType
      • setSpecularColor

        public void setSpecularColor​(List<Double> value)
      • setDiffuseColor

        public void setDiffuseColor​(List<Double> value)
      • setEmissiveColor

        public void setEmissiveColor​(List<Double> value)