net.opengis.citygml.appearance.v_1_0
Class X3DMaterialType

java.lang.Object
  extended by net.opengis.gml.v_3_1_1.AbstractGMLType
      extended by net.opengis.gml.v_3_1_1.AbstractFeatureType
          extended by net.opengis.citygml.appearance.v_1_0.AbstractSurfaceDataType
              extended by net.opengis.citygml.appearance.v_1_0.X3DMaterialType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class X3DMaterialType
extends AbstractSurfaceDataType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.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/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>
 


Field Summary
protected  Double ambientIntensity
           
protected  List<Double> diffuseColor
           
protected  List<Double> emissiveColor
           
protected  List<Object> genericApplicationPropertyOfX3DMaterial
           
protected  Boolean isSmooth
           
protected  Double shininess
           
protected  List<Double> specularColor
           
protected  List<String> target
           
protected  Double transparency
           
 
Fields inherited from class net.opengis.citygml.appearance.v_1_0.AbstractSurfaceDataType
genericApplicationPropertyOfSurfaceData, isFront
 
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
boundedBy, location
 
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
 
Constructor Summary
X3DMaterialType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 Double getAmbientIntensity()
          Gets the value of the ambientIntensity property.
 List<Double> getDiffuseColor()
          Gets the value of the diffuseColor property.
 List<Double> getEmissiveColor()
          Gets the value of the emissiveColor property.
 List<Object> getGenericApplicationPropertyOfX3DMaterial()
          Gets the value of the genericApplicationPropertyOfX3DMaterial property.
 Double getShininess()
          Gets the value of the shininess property.
 List<Double> getSpecularColor()
          Gets the value of the specularColor property.
 List<String> getTarget()
          Gets the value of the target property.
 Double getTransparency()
          Gets the value of the transparency property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 Boolean isIsSmooth()
          Gets the value of the isSmooth property.
 boolean isSetAmbientIntensity()
           
 boolean isSetDiffuseColor()
           
 boolean isSetEmissiveColor()
           
 boolean isSetGenericApplicationPropertyOfX3DMaterial()
           
 boolean isSetIsSmooth()
           
 boolean isSetShininess()
           
 boolean isSetSpecularColor()
           
 boolean isSetTarget()
           
 boolean isSetTransparency()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setAmbientIntensity(Double value)
          Sets the value of the ambientIntensity property.
 void setDiffuseColor(List<Double> value)
           
 void setEmissiveColor(List<Double> value)
           
 void setGenericApplicationPropertyOfX3DMaterial(List<Object> value)
           
 void setIsSmooth(Boolean value)
          Sets the value of the isSmooth property.
 void setShininess(Double value)
          Sets the value of the shininess property.
 void setSpecularColor(List<Double> value)
           
 void setTarget(List<String> value)
           
 void setTransparency(Double value)
          Sets the value of the transparency property.
 String toString()
           
 void unsetDiffuseColor()
           
 void unsetEmissiveColor()
           
 void unsetGenericApplicationPropertyOfX3DMaterial()
           
 void unsetSpecularColor()
           
 void unsetTarget()
           
 X3DMaterialType withAmbientIntensity(Double value)
           
 X3DMaterialType withDiffuseColor(Collection<Double> values)
           
 X3DMaterialType withDiffuseColor(Double... values)
           
 X3DMaterialType withDiffuseColor(List<Double> value)
           
 X3DMaterialType withEmissiveColor(Collection<Double> values)
           
 X3DMaterialType withEmissiveColor(Double... values)
           
 X3DMaterialType withEmissiveColor(List<Double> value)
           
 X3DMaterialType withGenericApplicationPropertyOfSurfaceData(Collection<Object> values)
           
 X3DMaterialType withGenericApplicationPropertyOfSurfaceData(List<Object> value)
           
 X3DMaterialType withGenericApplicationPropertyOfSurfaceData(Object... values)
           
 X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(Collection<Object> values)
           
 X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(List<Object> value)
           
 X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(Object... values)
           
 X3DMaterialType withIsFront(Boolean value)
           
 X3DMaterialType withIsSmooth(Boolean value)
           
 X3DMaterialType withShininess(Double value)
           
 X3DMaterialType withSpecularColor(Collection<Double> values)
           
 X3DMaterialType withSpecularColor(Double... values)
           
 X3DMaterialType withSpecularColor(List<Double> value)
           
 X3DMaterialType withTarget(Collection<String> values)
           
 X3DMaterialType withTarget(List<String> value)
           
 X3DMaterialType withTarget(String... values)
           
 X3DMaterialType withTransparency(Double value)
           
 
Methods inherited from class net.opengis.citygml.appearance.v_1_0.AbstractSurfaceDataType
getGenericApplicationPropertyOfSurfaceData, isIsFront, isSetGenericApplicationPropertyOfSurfaceData, isSetIsFront, setGenericApplicationPropertyOfSurfaceData, setIsFront, unsetGenericApplicationPropertyOfSurfaceData
 
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
getBoundedBy, getLocation, isSetBoundedBy, isSetLocation, setBoundedBy, setLocation, withBoundedBy, withDescription, withId, withLocation, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
 
Methods inherited from class net.opengis.gml.v_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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

target

protected List<String> target

genericApplicationPropertyOfX3DMaterial

protected List<Object> genericApplicationPropertyOfX3DMaterial
Constructor Detail

X3DMaterialType

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

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 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:

    getGenericApplicationPropertyOfX3DMaterial().add(newItem);
 

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


isSetGenericApplicationPropertyOfX3DMaterial

public boolean isSetGenericApplicationPropertyOfX3DMaterial()

unsetGenericApplicationPropertyOfX3DMaterial

public void unsetGenericApplicationPropertyOfX3DMaterial()

toString

public String toString()
Overrides:
toString in class AbstractSurfaceDataType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class AbstractSurfaceDataType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class AbstractSurfaceDataType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class AbstractSurfaceDataType

equals

public boolean equals(Object object)
Overrides:
equals in class AbstractSurfaceDataType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class AbstractSurfaceDataType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSurfaceDataType

clone

public Object clone()
Overrides:
clone in class AbstractSurfaceDataType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractSurfaceDataType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractSurfaceDataType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
createNewInstance in class AbstractSurfaceDataType

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class AbstractSurfaceDataType

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.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)

withAmbientIntensity

public X3DMaterialType withAmbientIntensity(Double value)

withDiffuseColor

public X3DMaterialType withDiffuseColor(Double... values)

withDiffuseColor

public X3DMaterialType withDiffuseColor(Collection<Double> values)

withEmissiveColor

public X3DMaterialType withEmissiveColor(Double... values)

withEmissiveColor

public X3DMaterialType withEmissiveColor(Collection<Double> values)

withSpecularColor

public X3DMaterialType withSpecularColor(Double... values)

withSpecularColor

public X3DMaterialType withSpecularColor(Collection<Double> values)

withShininess

public X3DMaterialType withShininess(Double value)

withTransparency

public X3DMaterialType withTransparency(Double value)

withIsSmooth

public X3DMaterialType withIsSmooth(Boolean value)

withTarget

public X3DMaterialType withTarget(String... values)

withTarget

public X3DMaterialType withTarget(Collection<String> values)

withGenericApplicationPropertyOfX3DMaterial

public X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(Object... values)

withGenericApplicationPropertyOfX3DMaterial

public X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(Collection<Object> values)

withDiffuseColor

public X3DMaterialType withDiffuseColor(List<Double> value)

withEmissiveColor

public X3DMaterialType withEmissiveColor(List<Double> value)

withSpecularColor

public X3DMaterialType withSpecularColor(List<Double> value)

withTarget

public X3DMaterialType withTarget(List<String> value)

withGenericApplicationPropertyOfX3DMaterial

public X3DMaterialType withGenericApplicationPropertyOfX3DMaterial(List<Object> value)

withIsFront

public X3DMaterialType withIsFront(Boolean value)
Overrides:
withIsFront in class AbstractSurfaceDataType

withGenericApplicationPropertyOfSurfaceData

public X3DMaterialType withGenericApplicationPropertyOfSurfaceData(Object... values)
Overrides:
withGenericApplicationPropertyOfSurfaceData in class AbstractSurfaceDataType

withGenericApplicationPropertyOfSurfaceData

public X3DMaterialType withGenericApplicationPropertyOfSurfaceData(Collection<Object> values)
Overrides:
withGenericApplicationPropertyOfSurfaceData in class AbstractSurfaceDataType

withGenericApplicationPropertyOfSurfaceData

public X3DMaterialType withGenericApplicationPropertyOfSurfaceData(List<Object> value)
Overrides:
withGenericApplicationPropertyOfSurfaceData in class AbstractSurfaceDataType


Copyright © 2008-2015. All Rights Reserved.