public class MaterialType extends AbstractAppearanceType implements java.lang.Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
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/1.0}AbstractAppearanceType">
<sequence>
<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="ambientIntensity" type="{http://www.opengis.net/citygml/1.0}doubleBetween0and1" minOccurs="0"/>
<element name="specularColor" type="{http://www.opengis.net/citygml/texturedsurface/1.0}Color" minOccurs="0"/>
<element name="diffuseColor" type="{http://www.opengis.net/citygml/texturedsurface/1.0}Color" minOccurs="0"/>
<element name="emissiveColor" type="{http://www.opengis.net/citygml/texturedsurface/1.0}Color" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
ambientIntensity |
protected java.util.List<java.lang.Double> |
diffuseColor |
protected java.util.List<java.lang.Double> |
emissiveColor |
protected java.lang.Double |
shininess |
protected java.util.List<java.lang.Double> |
specularColor |
protected java.lang.Double |
transparency |
description, id, metaDataProperty, name| Constructor and Description |
|---|
MaterialType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
java.lang.Object |
clone() |
java.lang.Object |
copyTo(java.lang.Object target) |
java.lang.Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
java.lang.Object |
createNewInstance() |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetAmbientIntensity() |
boolean |
isSetDiffuseColor() |
boolean |
isSetEmissiveColor() |
boolean |
isSetShininess() |
boolean |
isSetSpecularColor() |
boolean |
isSetTransparency() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(java.lang.Object left,
java.lang.Object right) |
void |
setAmbientIntensity(java.lang.Double value)
Sets the value of the ambientIntensity property.
|
void |
setDiffuseColor(java.util.List<java.lang.Double> value) |
void |
setEmissiveColor(java.util.List<java.lang.Double> value) |
void |
setShininess(java.lang.Double value)
Sets the value of the shininess property.
|
void |
setSpecularColor(java.util.List<java.lang.Double> value) |
void |
setTransparency(java.lang.Double value)
Sets the value of the transparency property.
|
java.lang.String |
toString() |
void |
unsetDiffuseColor() |
void |
unsetEmissiveColor() |
void |
unsetSpecularColor() |
MaterialType |
withAmbientIntensity(java.lang.Double value) |
MaterialType |
withDiffuseColor(java.util.Collection<java.lang.Double> values) |
MaterialType |
withDiffuseColor(java.lang.Double... values) |
MaterialType |
withDiffuseColor(java.util.List<java.lang.Double> value) |
MaterialType |
withEmissiveColor(java.util.Collection<java.lang.Double> values) |
MaterialType |
withEmissiveColor(java.lang.Double... values) |
MaterialType |
withEmissiveColor(java.util.List<java.lang.Double> value) |
MaterialType |
withShininess(java.lang.Double value) |
MaterialType |
withSpecularColor(java.util.Collection<java.lang.Double> values) |
MaterialType |
withSpecularColor(java.lang.Double... values) |
MaterialType |
withSpecularColor(java.util.List<java.lang.Double> value) |
MaterialType |
withTransparency(java.lang.Double value) |
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName, withDescription, withId, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withNameprotected java.lang.Double shininess
protected java.lang.Double transparency
protected java.lang.Double ambientIntensity
protected java.util.List<java.lang.Double> specularColor
protected java.util.List<java.lang.Double> diffuseColor
protected java.util.List<java.lang.Double> emissiveColor
public java.lang.Double getShininess()
Doublepublic void setShininess(java.lang.Double value)
value - allowed object is
Doublepublic boolean isSetShininess()
public java.lang.Double getTransparency()
Doublepublic void setTransparency(java.lang.Double value)
value - allowed object is
Doublepublic boolean isSetTransparency()
public java.lang.Double getAmbientIntensity()
Doublepublic void setAmbientIntensity(java.lang.Double value)
value - allowed object is
Doublepublic boolean isSetAmbientIntensity()
public java.util.List<java.lang.Double> getSpecularColor()
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
public boolean isSetSpecularColor()
public void unsetSpecularColor()
public java.util.List<java.lang.Double> getDiffuseColor()
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
public boolean isSetDiffuseColor()
public void unsetDiffuseColor()
public java.util.List<java.lang.Double> getEmissiveColor()
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
public boolean isSetEmissiveColor()
public void unsetEmissiveColor()
public java.lang.String toString()
toString in class AbstractAppearanceTypepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2append in class AbstractAppearanceTypepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2appendFields in class AbstractAppearanceTypepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2equals in class AbstractAppearanceTypepublic boolean equals(java.lang.Object object)
equals in class AbstractAppearanceTypepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2hashCode in class AbstractAppearanceTypepublic int hashCode()
hashCode in class AbstractAppearanceTypepublic java.lang.Object clone()
clone in class AbstractAppearanceTypepublic java.lang.Object copyTo(java.lang.Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractAppearanceTypepublic java.lang.Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2copyTo in class AbstractAppearanceTypepublic java.lang.Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(java.lang.Object left,
java.lang.Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractAppearanceTypepublic void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
java.lang.Object left,
java.lang.Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2mergeFrom in class AbstractAppearanceTypepublic void setSpecularColor(java.util.List<java.lang.Double> value)
public void setDiffuseColor(java.util.List<java.lang.Double> value)
public void setEmissiveColor(java.util.List<java.lang.Double> value)
public MaterialType withShininess(java.lang.Double value)
public MaterialType withTransparency(java.lang.Double value)
public MaterialType withAmbientIntensity(java.lang.Double value)
public MaterialType withSpecularColor(java.lang.Double... values)
public MaterialType withSpecularColor(java.util.Collection<java.lang.Double> values)
public MaterialType withDiffuseColor(java.lang.Double... values)
public MaterialType withDiffuseColor(java.util.Collection<java.lang.Double> values)
public MaterialType withEmissiveColor(java.lang.Double... values)
public MaterialType withEmissiveColor(java.util.Collection<java.lang.Double> values)
public MaterialType withSpecularColor(java.util.List<java.lang.Double> value)
public MaterialType withDiffuseColor(java.util.List<java.lang.Double> value)
public MaterialType withEmissiveColor(java.util.List<java.lang.Double> value)
Copyright © 2008-2021. All Rights Reserved.