Class X3DMaterialType

  • 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 X3DMaterialType
    extends AbstractSurfaceDataType
    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
    Class for defining constant surface properties. It is based on X3D's material definition. In addition, "isSmooth" provides a hint for value interpolation. The link to surface geometry is established via the "target"-property. Only gml:MultiSurface or decendants of gml:AbstractSurfaceType are valid targets.

    Java class for X3DMaterialType complex type.

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

     <complexType name="X3DMaterialType">
       <complexContent>
         <extension base="{http://www.opengis.net/citygml/appearance/2.0}AbstractSurfaceDataType">
           <sequence>
             <element name="ambientIntensity" type="{http://www.opengis.net/citygml/2.0}doubleBetween0and1" minOccurs="0"/>
             <element name="diffuseColor" type="{http://www.opengis.net/citygml/appearance/2.0}Color" minOccurs="0"/>
             <element name="emissiveColor" type="{http://www.opengis.net/citygml/appearance/2.0}Color" minOccurs="0"/>
             <element name="specularColor" type="{http://www.opengis.net/citygml/appearance/2.0}Color" minOccurs="0"/>
             <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="isSmooth" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
             <element name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://www.opengis.net/citygml/appearance/2.0}_GenericApplicationPropertyOfX3DMaterial" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • ambientIntensity

        protected Double ambientIntensity
      • diffuseColor

        protected List<Double> diffuseColor
      • emissiveColor

        protected List<Double> emissiveColor
      • specularColor

        protected List<Double> specularColor
      • shininess

        protected Double shininess
      • transparency

        protected Double transparency
      • isSmooth

        protected Boolean isSmooth
      • genericApplicationPropertyOfX3DMaterial

        protected List<Object> genericApplicationPropertyOfX3DMaterial
    • Constructor Detail

      • X3DMaterialType

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

      • 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()
      • 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()
      • 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()
      • 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()
      • isIsSmooth

        public Boolean isIsSmooth()
        Gets the value of the isSmooth property.
        Returns:
        possible object is Boolean
      • setIsSmooth

        public void setIsSmooth​(Boolean value)
        Sets the value of the isSmooth property.
        Parameters:
        value - allowed object is Boolean
      • isSetIsSmooth

        public boolean isSetIsSmooth()
      • getTarget

        public List<String> getTarget()
        Gets the value of the target 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 target property.

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

            getTarget().add(newItem);
         

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

      • isSetTarget

        public boolean isSetTarget()
      • unsetTarget

        public void unsetTarget()
      • getGenericApplicationPropertyOfX3DMaterial

        public List<Object> getGenericApplicationPropertyOfX3DMaterial()
        Gets the value of the genericApplicationPropertyOfX3DMaterial 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 genericApplicationPropertyOfX3DMaterial property.

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

            getGenericApplicationPropertyOfX3DMaterial().add(newItem);
         

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

      • isSetGenericApplicationPropertyOfX3DMaterial

        public boolean isSetGenericApplicationPropertyOfX3DMaterial()
      • unsetGenericApplicationPropertyOfX3DMaterial

        public void unsetGenericApplicationPropertyOfX3DMaterial()
      • 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 AbstractSurfaceDataType
      • 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 AbstractSurfaceDataType
      • 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 AbstractSurfaceDataType
      • 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 AbstractSurfaceDataType
      • 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 AbstractSurfaceDataType
      • setDiffuseColor

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

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

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

        public void setTarget​(List<String> value)
      • setGenericApplicationPropertyOfX3DMaterial

        public void setGenericApplicationPropertyOfX3DMaterial​(List<Object> value)
      • withGenericApplicationPropertyOfX3DMaterial

        public X3DMaterialType withGenericApplicationPropertyOfX3DMaterial​(Object... values)
      • withGenericApplicationPropertyOfX3DMaterial

        public X3DMaterialType withGenericApplicationPropertyOfX3DMaterial​(List<Object> value)