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