org.citygml4j.model.citygml.appearance
Class Color
java.lang.Object
org.citygml4j.model.citygml.appearance.Color
- All Implemented Interfaces:
- AppearanceModuleComponent, CityGML, ModelObject, Child, Copyable
public class Color
- extends java.lang.Object
- implements AppearanceModuleComponent, Child, Copyable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Color
public Color()
Color
public Color(AppearanceModule module)
Color
public Color(java.lang.Double defaultValue)
Color
public Color(java.lang.Double red,
java.lang.Double green,
java.lang.Double blue)
getBlue
public java.lang.Double getBlue()
getGreen
public java.lang.Double getGreen()
getRed
public java.lang.Double getRed()
setBlue
public void setBlue(java.lang.Double blue)
setColor
public void setColor(java.util.List<java.lang.Double> color)
setGreen
public void setGreen(java.lang.Double green)
setRed
public void setRed(java.lang.Double red)
toList
public java.util.List<java.lang.Double> toList()
getModelType
public ModelType getModelType()
- Specified by:
getModelType
in interface ModelObject
getCityGMLClass
public CityGMLClass getCityGMLClass()
- Specified by:
getCityGMLClass
in interface CityGML
getCityGMLModule
public final AppearanceModule getCityGMLModule()
- Specified by:
getCityGMLModule
in interface CityGML
isSetCityGMLModule
public boolean isSetCityGMLModule()
- Specified by:
isSetCityGMLModule
in interface CityGML
getParent
public ModelObject getParent()
- Specified by:
getParent
in interface Child
setParent
public void setParent(ModelObject parent)
- Specified by:
setParent
in interface Child
isSetParent
public boolean isSetParent()
- Specified by:
isSetParent
in interface Child
unsetParent
public void unsetParent()
- Specified by:
unsetParent
in interface Child
copy
public java.lang.Object copy(CopyBuilder copyBuilder)
- Specified by:
copy
in interface Copyable
copyTo
public java.lang.Object copyTo(java.lang.Object target,
CopyBuilder copyBuilder)
- Specified by:
copyTo
in interface Copyable