org.citygml4j.jaxb.citygml.app._1
Class X3DMaterialType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.gml._3_1_1.AbstractFeatureType
          extended by org.citygml4j.jaxb.citygml.app._1.AbstractSurfaceDataType
              extended by org.citygml4j.jaxb.citygml.app._1.X3DMaterialType

public class X3DMaterialType
extends AbstractSurfaceDataType

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/1.0}AbstractSurfaceDataType">
       <sequence>
         <element name="ambientIntensity" type="{http://www.opengis.net/citygml/1.0}doubleBetween0and1" minOccurs="0"/>
         <element name="diffuseColor" type="{http://www.opengis.net/citygml/appearance/1.0}Color" minOccurs="0"/>
         <element name="emissiveColor" type="{http://www.opengis.net/citygml/appearance/1.0}Color" minOccurs="0"/>
         <element name="specularColor" type="{http://www.opengis.net/citygml/appearance/1.0}Color" minOccurs="0"/>
         <element name="shininess" type="{http://www.opengis.net/citygml/1.0}doubleBetween0and1" minOccurs="0"/>
         <element name="transparency" type="{http://www.opengis.net/citygml/1.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/1.0}_GenericApplicationPropertyOfX3DMaterial" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
X3DMaterialType()
           
 
Method Summary
 java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> get_GenericApplicationPropertyOfX3DMaterial()
          Gets the value of the genericApplicationPropertyOfX3DMaterial property.
 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.util.List<java.lang.String> getTarget()
          Gets the value of the target property.
 java.lang.Double getTransparency()
          Gets the value of the transparency property.
 java.lang.Boolean isIsSmooth()
          Gets the value of the isSmooth property.
 boolean isSet_GenericApplicationPropertyOfX3DMaterial()
           
 boolean isSetAmbientIntensity()
           
 boolean isSetDiffuseColor()
           
 boolean isSetEmissiveColor()
           
 boolean isSetIsSmooth()
           
 boolean isSetShininess()
           
 boolean isSetSpecularColor()
           
 boolean isSetTarget()
           
 boolean isSetTransparency()
           
 void set_GenericApplicationPropertyOfX3DMaterial(java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> genericApplicationPropertyOfX3DMaterial)
          Sets the value of the _GenericApplicationPropertyOfX3DMaterial property.
 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 setIsSmooth(java.lang.Boolean value)
          Sets the value of the isSmooth 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 setTarget(java.util.List<java.lang.String> target)
          Sets the value of the target property.
 void setTransparency(java.lang.Double value)
          Sets the value of the transparency property.
 void unset_GenericApplicationPropertyOfX3DMaterial()
           
 void unsetDiffuseColor()
           
 void unsetEmissiveColor()
           
 void unsetSpecularColor()
           
 void unsetTarget()
           
 
Methods inherited from class org.citygml4j.jaxb.citygml.app._1.AbstractSurfaceDataType
get_GenericApplicationPropertyOfSurfaceData, isIsFront, isSet_GenericApplicationPropertyOfSurfaceData, isSetIsFront, set_GenericApplicationPropertyOfSurfaceData, setIsFront, unset_GenericApplicationPropertyOfSurfaceData
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractFeatureType
get_ADEComponent, getBoundedBy, getLocation, isSet_ADEComponent, isSetBoundedBy, isSetLocation, set_ADEComponent, setBoundedBy, setLocation, unset_ADEComponent
 
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

X3DMaterialType

public X3DMaterialType()
Method Detail

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

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

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

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

isIsSmooth

public java.lang.Boolean isIsSmooth()
Gets the value of the isSmooth property.

Returns:
possible object is Boolean

setIsSmooth

public void setIsSmooth(java.lang.Boolean value)
Sets the value of the isSmooth property.

Parameters:
value - allowed object is Boolean

isSetIsSmooth

public boolean isSetIsSmooth()

getTarget

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

get_GenericApplicationPropertyOfX3DMaterial

public java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> get_GenericApplicationPropertyOfX3DMaterial()
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 JAXB object. This is why there is not a set method for the genericApplicationPropertyOfX3DMaterial property.

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

    get_GenericApplicationPropertyOfX3DMaterial().add(newItem);
 

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


isSet_GenericApplicationPropertyOfX3DMaterial

public boolean isSet_GenericApplicationPropertyOfX3DMaterial()

unset_GenericApplicationPropertyOfX3DMaterial

public void unset_GenericApplicationPropertyOfX3DMaterial()

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

setSpecularColor

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

Parameters:
specularColor - allowed object is Double

setTarget

public void setTarget(java.util.List<java.lang.String> target)
Sets the value of the target property.

Parameters:
target - allowed object is String

set_GenericApplicationPropertyOfX3DMaterial

public void set_GenericApplicationPropertyOfX3DMaterial(java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> genericApplicationPropertyOfX3DMaterial)
Sets the value of the _GenericApplicationPropertyOfX3DMaterial property.

Parameters:
genericApplicationPropertyOfX3DMaterial - allowed object is JAXBElement<Object> JAXBElement<Object>