org.citygml4j.jaxb.citygml._0_4
Class MaterialType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.citygml._0_4._AppearanceType
          extended by org.citygml4j.jaxb.citygml._0_4.MaterialType

public class MaterialType
extends _AppearanceType

Deprecated in CityGML version 0.4.0. Use the concepts of the new appearance model 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.citygml.org/citygml/1/0/0}_AppearanceType">
       <sequence>
         <element name="shininess" type="{http://www.citygml.org/citygml/1/0/0}doubleBetween0and1" minOccurs="0"/>
         <element name="transparency" type="{http://www.citygml.org/citygml/1/0/0}doubleBetween0and1" minOccurs="0"/>
         <element name="ambientIntensity" type="{http://www.citygml.org/citygml/1/0/0}doubleBetween0and1" minOccurs="0"/>
         <element name="specularColor" type="{http://www.citygml.org/citygml/1/0/0}Color" minOccurs="0"/>
         <element name="diffuseColor" type="{http://www.citygml.org/citygml/1/0/0}Color" minOccurs="0"/>
         <element name="emissiveColor" type="{http://www.citygml.org/citygml/1/0/0}Color" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
MaterialType()
           
 
Method Summary
 java.lang.Double getAmbientIntensity()
          Gets the value of the ambientIntensity property.
 java.util.List<java.lang.Double> getDiffuseColor()
          Gets the value of the diffuseColor property.
 java.util.List<java.lang.Double> getEmissiveColor()
          Gets the value of the emissiveColor property.
 java.lang.Double getShininess()
          Gets the value of the shininess property.
 java.util.List<java.lang.Double> getSpecularColor()
          Gets the value of the specularColor property.
 java.lang.Double getTransparency()
          Gets the value of the transparency property.
 boolean isSetAmbientIntensity()
           
 boolean isSetDiffuseColor()
           
 boolean isSetEmissiveColor()
           
 boolean isSetShininess()
           
 boolean isSetSpecularColor()
           
 boolean isSetTransparency()
           
 void setAmbientIntensity(java.lang.Double value)
          Sets the value of the ambientIntensity property.
 void setDiffuseColor(java.util.List<java.lang.Double> diffuseColor)
          Sets the value of the diffuseColor property.
 void setEmissiveColor(java.util.List<java.lang.Double> emissiveColor)
          Sets the value of the emissiveColor property.
 void setShininess(java.lang.Double value)
          Sets the value of the shininess property.
 void setSpecularColor(java.util.List<java.lang.Double> specularColor)
          Sets the value of the specularColor property.
 void setTransparency(java.lang.Double value)
          Sets the value of the transparency property.
 void unsetDiffuseColor()
           
 void unsetEmissiveColor()
           
 void unsetSpecularColor()
           
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterialType

public MaterialType()
Method Detail

getShininess

public java.lang.Double getShininess()
Gets the value of the shininess property.

Returns:
possible object is Double

setShininess

public void setShininess(java.lang.Double value)
Sets the value of the shininess property.

Parameters:
value - allowed object is Double

isSetShininess

public boolean isSetShininess()

getTransparency

public java.lang.Double getTransparency()
Gets the value of the transparency property.

Returns:
possible object is Double

setTransparency

public void setTransparency(java.lang.Double value)
Sets the value of the transparency property.

Parameters:
value - allowed object is Double

isSetTransparency

public boolean isSetTransparency()

getAmbientIntensity

public java.lang.Double getAmbientIntensity()
Gets the value of the ambientIntensity property.

Returns:
possible object is Double

setAmbientIntensity

public void setAmbientIntensity(java.lang.Double value)
Sets the value of the ambientIntensity property.

Parameters:
value - allowed object is Double

isSetAmbientIntensity

public boolean isSetAmbientIntensity()

getSpecularColor

public java.util.List<java.lang.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 JAXB 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 java.util.List<java.lang.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 JAXB 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 java.util.List<java.lang.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 JAXB 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()

setSpecularColor

public void setSpecularColor(java.util.List<java.lang.Double> specularColor)
Sets the value of the specularColor property.

Parameters:
specularColor - allowed object is Double

setDiffuseColor

public void setDiffuseColor(java.util.List<java.lang.Double> diffuseColor)
Sets the value of the diffuseColor property.

Parameters:
diffuseColor - allowed object is Double

setEmissiveColor

public void setEmissiveColor(java.util.List<java.lang.Double> emissiveColor)
Sets the value of the emissiveColor property.

Parameters:
emissiveColor - allowed object is Double