org.citygml4j.impl.citygml.appearance
Class ColorImpl

java.lang.Object
  extended by org.citygml4j.impl.citygml.appearance.ColorImpl
All Implemented Interfaces:
AppearanceModuleComponent, Color, CityGML, ModelObject, Child, Copyable

public class ColorImpl
extends java.lang.Object
implements Color


Constructor Summary
ColorImpl()
           
ColorImpl(AppearanceModule module)
           
ColorImpl(java.lang.Double defaultValue)
           
ColorImpl(java.lang.Double red, java.lang.Double green, java.lang.Double blue)
           
 
Method Summary
 java.lang.Object copy(CopyBuilder copyBuilder)
           
 java.lang.Object copyTo(java.lang.Object target, CopyBuilder copyBuilder)
           
 java.lang.Double getBlue()
           
 CityGMLClass getCityGMLClass()
           
 AppearanceModule getCityGMLModule()
           
 java.lang.Double getGreen()
           
 ModelType getModelType()
           
 ModelObject getParent()
           
 java.lang.Double getRed()
           
 boolean isSetCityGMLModule()
           
 boolean isSetParent()
           
 void setBlue(java.lang.Double blue)
           
 void setColor(java.util.List<java.lang.Double> color)
           
 void setGreen(java.lang.Double green)
           
 void setParent(ModelObject parent)
           
 void setRed(java.lang.Double red)
           
 java.util.List<java.lang.Double> toList()
           
 void unsetParent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorImpl

public ColorImpl()

ColorImpl

public ColorImpl(AppearanceModule module)

ColorImpl

public ColorImpl(java.lang.Double defaultValue)

ColorImpl

public ColorImpl(java.lang.Double red,
                 java.lang.Double green,
                 java.lang.Double blue)
Method Detail

getBlue

public java.lang.Double getBlue()
Specified by:
getBlue in interface Color

getGreen

public java.lang.Double getGreen()
Specified by:
getGreen in interface Color

getRed

public java.lang.Double getRed()
Specified by:
getRed in interface Color

setBlue

public void setBlue(java.lang.Double blue)
Specified by:
setBlue in interface Color

setColor

public void setColor(java.util.List<java.lang.Double> color)
Specified by:
setColor in interface Color

setGreen

public void setGreen(java.lang.Double green)
Specified by:
setGreen in interface Color

setRed

public void setRed(java.lang.Double red)
Specified by:
setRed in interface Color

toList

public java.util.List<java.lang.Double> toList()
Specified by:
toList in interface Color

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