org.citygml4j.impl.citygml.generics
Class GenericCityObjectImpl

java.lang.Object
  extended by org.citygml4j.impl.gml.base.AbstractGMLImpl
      extended by org.citygml4j.impl.gml.feature.AbstractFeatureImpl
          extended by org.citygml4j.impl.citygml.core.AbstractCityObjectImpl
              extended by org.citygml4j.impl.citygml.generics.GenericCityObjectImpl
All Implemented Interfaces:
CityGML, AbstractCityObject, CoreModuleComponent, GenericCityObject, GenericsModuleComponent, Associable, ModelObject, Child, Copyable, AbstractGML, StandardObjectProperties, AbstractFeature, GML

public class GenericCityObjectImpl
extends AbstractCityObjectImpl
implements GenericCityObject


Constructor Summary
GenericCityObjectImpl()
           
GenericCityObjectImpl(GenericsModule module)
           
 
Method Summary
<T> T
accept(FeatureFunctor<T> visitor)
           
 void accept(FeatureVisitor visitor)
           
<T> T
accept(GMLFunctor<T> visitor)
           
 void accept(GMLVisitor visitor)
           
 void addFunction(java.lang.String function)
           
 void addUsage(java.lang.String usage)
           
 BoundingShape calcBoundedBy(boolean setBoundedBy)
           
 java.lang.Object copy(CopyBuilder copyBuilder)
           
 java.lang.Object copyTo(java.lang.Object target, CopyBuilder copyBuilder)
           
 CityGMLClass getCityGMLClass()
           
 GenericsModule getCityGMLModule()
           
 java.lang.String getClazz()
           
 java.util.List<java.lang.String> getFunction()
           
 GeometryProperty<? extends AbstractGeometry> getLod0Geometry()
           
 ImplicitRepresentationProperty getLod0ImplicitRepresentation()
           
 MultiCurveProperty getLod0TerrainIntersection()
           
 GeometryProperty<? extends AbstractGeometry> getLod1Geometry()
           
 ImplicitRepresentationProperty getLod1ImplicitRepresentation()
           
 MultiCurveProperty getLod1TerrainIntersection()
           
 GeometryProperty<? extends AbstractGeometry> getLod2Geometry()
           
 ImplicitRepresentationProperty getLod2ImplicitRepresentation()
           
 MultiCurveProperty getLod2TerrainIntersection()
           
 GeometryProperty<? extends AbstractGeometry> getLod3Geometry()
           
 ImplicitRepresentationProperty getLod3ImplicitRepresentation()
           
 MultiCurveProperty getLod3TerrainIntersection()
           
 GeometryProperty<? extends AbstractGeometry> getLod4Geometry()
           
 ImplicitRepresentationProperty getLod4ImplicitRepresentation()
           
 MultiCurveProperty getLod4TerrainIntersection()
           
 LodRepresentation getLodRepresentation()
           
 java.util.List<java.lang.String> getUsage()
           
 boolean isSetCityGMLModule()
           
 boolean isSetClazz()
           
 boolean isSetFunction()
           
 boolean isSetLod0Geometry()
           
 boolean isSetLod0ImplicitRepresentation()
           
 boolean isSetLod0TerrainIntersection()
           
 boolean isSetLod1Geometry()
           
 boolean isSetLod1ImplicitRepresentation()
           
 boolean isSetLod1TerrainIntersection()
           
 boolean isSetLod2Geometry()
           
 boolean isSetLod2ImplicitRepresentation()
           
 boolean isSetLod2TerrainIntersection()
           
 boolean isSetLod3Geometry()
           
 boolean isSetLod3ImplicitRepresentation()
           
 boolean isSetLod3TerrainIntersection()
           
 boolean isSetLod4Geometry()
           
 boolean isSetLod4ImplicitRepresentation()
           
 boolean isSetLod4TerrainIntersection()
           
 boolean isSetUsage()
           
 void setClazz(java.lang.String clazz)
           
 void setFunction(java.util.List<java.lang.String> function)
           
 void setLod0Geometry(GeometryProperty<? extends AbstractGeometry> lod0Geometry)
           
 void setLod0ImplicitRepresentation(ImplicitRepresentationProperty lod0ImplicitRepresentation)
           
 void setLod0TerrainIntersection(MultiCurveProperty lod0TerrainIntersection)
           
 void setLod1Geometry(GeometryProperty<? extends AbstractGeometry> lod1Geometry)
           
 void setLod1ImplicitRepresentation(ImplicitRepresentationProperty lod1ImplicitRepresentation)
           
 void setLod1TerrainIntersection(MultiCurveProperty lod1TerrainIntersection)
           
 void setLod2Geometry(GeometryProperty<? extends AbstractGeometry> lod2Geometry)
           
 void setLod2ImplicitRepresentation(ImplicitRepresentationProperty lod2ImplicitRepresentation)
           
 void setLod2TerrainIntersection(MultiCurveProperty lod2TerrainIntersection)
           
 void setLod3Geometry(GeometryProperty<? extends AbstractGeometry> lod3Geometry)
           
 void setLod3ImplicitRepresentation(ImplicitRepresentationProperty lod3ImplicitRepresentation)
           
 void setLod3TerrainIntersection(MultiCurveProperty lod3TerrainIntersection)
           
 void setLod4Geometry(GeometryProperty<? extends AbstractGeometry> lod4Geometry)
           
 void setLod4ImplicitRepresentation(ImplicitRepresentationProperty lod4ImplicitRepresentation)
           
 void setLod4TerrainIntersection(MultiCurveProperty lod4TerrainIntersection)
           
 void setUsage(java.util.List<java.lang.String> usage)
           
 void unsetClazz()
           
 void unsetFunction()
           
 boolean unsetFunction(java.lang.String function)
           
 void unsetLod0Geometry()
           
 void unsetLod0ImplicitRepresentation()
           
 void unsetLod0TerrainIntersection()
           
 void unsetLod1Geometry()
           
 void unsetLod1ImplicitRepresentation()
           
 void unsetLod1TerrainIntersection()
           
 void unsetLod2Geometry()
           
 void unsetLod2ImplicitRepresentation()
           
 void unsetLod2TerrainIntersection()
           
 void unsetLod3Geometry()
           
 void unsetLod3ImplicitRepresentation()
           
 void unsetLod3TerrainIntersection()
           
 void unsetLod4Geometry()
           
 void unsetLod4ImplicitRepresentation()
           
 void unsetLod4TerrainIntersection()
           
 void unsetUsage()
           
 boolean unsetUsage(java.lang.String usage)
           
 
Methods inherited from class org.citygml4j.impl.citygml.core.AbstractCityObjectImpl
addAppearance, addExternalReference, addGeneralizesTo, addGenericApplicationPropertyOfCityObject, addGenericAttribute, getAppearance, getCreationDate, getExternalReference, getGeneralizesTo, getGenericApplicationPropertyOfCityObject, getGenericAttribute, getModelType, getTerminationDate, isSetAppearance, isSetCreationDate, isSetExternalReference, isSetGeneralizesTo, isSetGenericApplicationPropertyOfCityObject, isSetGenericAttribute, isSetTerminationDate, setAppearance, setCreationDate, setExternalReference, setGeneralizesTo, setGenericApplicationPropertyOfCityObject, setGenericAttribute, setTerminationDate, unsetAppearance, unsetAppearance, unsetCreationDate, unsetExternalReference, unsetExternalReference, unsetGeneralizesTo, unsetGeneralizesTo, unsetGenericApplicationPropertyOfCityObject, unsetGenericApplicationPropertyOfCityObject, unsetGenericAttribute, unsetGenericAttribute, unsetTerminationDate
 
Methods inherited from class org.citygml4j.impl.gml.feature.AbstractFeatureImpl
addGenericADEComponent, getBoundedBy, getGenericADEComponent, getGMLClass, getLocation, isSetBoundedBy, isSetGenericADEComponent, isSetLocation, setBoundedBy, setGenericADEComponent, setLocation, unsetBoundedBy, unsetGenericADEComponent, unsetGenericADEComponent, unsetLocation
 
Methods inherited from class org.citygml4j.impl.gml.base.AbstractGMLImpl
addMetaDataProperty, addName, getDescription, getId, getMetaDataProperty, getName, getParent, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, isSetParent, setDescription, setId, setMetaDataProperty, setName, setParent, unsetDescription, unsetId, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName, unsetParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.citygml4j.model.citygml.core.AbstractCityObject
addAppearance, addExternalReference, addGeneralizesTo, addGenericApplicationPropertyOfCityObject, addGenericAttribute, getAppearance, getCreationDate, getExternalReference, getGeneralizesTo, getGenericApplicationPropertyOfCityObject, getGenericAttribute, getTerminationDate, isSetAppearance, isSetCreationDate, isSetExternalReference, isSetGeneralizesTo, isSetGenericApplicationPropertyOfCityObject, isSetGenericAttribute, isSetTerminationDate, setAppearance, setCreationDate, setExternalReference, setGeneralizesTo, setGenericApplicationPropertyOfCityObject, setGenericAttribute, setTerminationDate, unsetAppearance, unsetAppearance, unsetCreationDate, unsetExternalReference, unsetExternalReference, unsetGeneralizesTo, unsetGeneralizesTo, unsetGenericApplicationPropertyOfCityObject, unsetGenericApplicationPropertyOfCityObject, unsetGenericAttribute, unsetGenericAttribute, unsetTerminationDate
 
Methods inherited from interface org.citygml4j.model.gml.feature.AbstractFeature
addGenericADEComponent, getBoundedBy, getGenericADEComponent, getLocation, isSetBoundedBy, isSetGenericADEComponent, isSetLocation, setBoundedBy, setGenericADEComponent, setLocation, unsetBoundedBy, unsetGenericADEComponent, unsetGenericADEComponent, unsetLocation
 
Methods inherited from interface org.citygml4j.model.gml.base.AbstractGML
getId, isSetId, setId, unsetId
 
Methods inherited from interface org.citygml4j.model.gml.base.StandardObjectProperties
addMetaDataProperty, addName, getDescription, getMetaDataProperty, getName, isSetDescription, isSetMetaDataProperty, isSetName, setDescription, setMetaDataProperty, setName, unsetDescription, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName
 
Methods inherited from interface org.citygml4j.model.common.child.Child
getParent, isSetParent, setParent, unsetParent
 

Constructor Detail

GenericCityObjectImpl

public GenericCityObjectImpl()

GenericCityObjectImpl

public GenericCityObjectImpl(GenericsModule module)
Method Detail

addFunction

public void addFunction(java.lang.String function)
Specified by:
addFunction in interface GenericCityObject

addUsage

public void addUsage(java.lang.String usage)
Specified by:
addUsage in interface GenericCityObject

getClazz

public java.lang.String getClazz()
Specified by:
getClazz in interface GenericCityObject

getFunction

public java.util.List<java.lang.String> getFunction()
Specified by:
getFunction in interface GenericCityObject

getLod0Geometry

public GeometryProperty<? extends AbstractGeometry> getLod0Geometry()
Specified by:
getLod0Geometry in interface GenericCityObject

getLod0ImplicitRepresentation

public ImplicitRepresentationProperty getLod0ImplicitRepresentation()
Specified by:
getLod0ImplicitRepresentation in interface GenericCityObject

getLod0TerrainIntersection

public MultiCurveProperty getLod0TerrainIntersection()
Specified by:
getLod0TerrainIntersection in interface GenericCityObject

getLod1Geometry

public GeometryProperty<? extends AbstractGeometry> getLod1Geometry()
Specified by:
getLod1Geometry in interface GenericCityObject

getLod1ImplicitRepresentation

public ImplicitRepresentationProperty getLod1ImplicitRepresentation()
Specified by:
getLod1ImplicitRepresentation in interface GenericCityObject

getLod1TerrainIntersection

public MultiCurveProperty getLod1TerrainIntersection()
Specified by:
getLod1TerrainIntersection in interface GenericCityObject

getLod2Geometry

public GeometryProperty<? extends AbstractGeometry> getLod2Geometry()
Specified by:
getLod2Geometry in interface GenericCityObject

getLod2ImplicitRepresentation

public ImplicitRepresentationProperty getLod2ImplicitRepresentation()
Specified by:
getLod2ImplicitRepresentation in interface GenericCityObject

getLod2TerrainIntersection

public MultiCurveProperty getLod2TerrainIntersection()
Specified by:
getLod2TerrainIntersection in interface GenericCityObject

getLod3Geometry

public GeometryProperty<? extends AbstractGeometry> getLod3Geometry()
Specified by:
getLod3Geometry in interface GenericCityObject

getLod3ImplicitRepresentation

public ImplicitRepresentationProperty getLod3ImplicitRepresentation()
Specified by:
getLod3ImplicitRepresentation in interface GenericCityObject

getLod3TerrainIntersection

public MultiCurveProperty getLod3TerrainIntersection()
Specified by:
getLod3TerrainIntersection in interface GenericCityObject

getLod4Geometry

public GeometryProperty<? extends AbstractGeometry> getLod4Geometry()
Specified by:
getLod4Geometry in interface GenericCityObject

getLod4ImplicitRepresentation

public ImplicitRepresentationProperty getLod4ImplicitRepresentation()
Specified by:
getLod4ImplicitRepresentation in interface GenericCityObject

getLod4TerrainIntersection

public MultiCurveProperty getLod4TerrainIntersection()
Specified by:
getLod4TerrainIntersection in interface GenericCityObject

getUsage

public java.util.List<java.lang.String> getUsage()
Specified by:
getUsage in interface GenericCityObject

isSetClazz

public boolean isSetClazz()
Specified by:
isSetClazz in interface GenericCityObject

isSetFunction

public boolean isSetFunction()
Specified by:
isSetFunction in interface GenericCityObject

isSetLod0Geometry

public boolean isSetLod0Geometry()
Specified by:
isSetLod0Geometry in interface GenericCityObject

isSetLod0ImplicitRepresentation

public boolean isSetLod0ImplicitRepresentation()
Specified by:
isSetLod0ImplicitRepresentation in interface GenericCityObject

isSetLod0TerrainIntersection

public boolean isSetLod0TerrainIntersection()
Specified by:
isSetLod0TerrainIntersection in interface GenericCityObject

isSetLod1Geometry

public boolean isSetLod1Geometry()
Specified by:
isSetLod1Geometry in interface GenericCityObject

isSetLod1ImplicitRepresentation

public boolean isSetLod1ImplicitRepresentation()
Specified by:
isSetLod1ImplicitRepresentation in interface GenericCityObject

isSetLod1TerrainIntersection

public boolean isSetLod1TerrainIntersection()
Specified by:
isSetLod1TerrainIntersection in interface GenericCityObject

isSetLod2Geometry

public boolean isSetLod2Geometry()
Specified by:
isSetLod2Geometry in interface GenericCityObject

isSetLod2ImplicitRepresentation

public boolean isSetLod2ImplicitRepresentation()
Specified by:
isSetLod2ImplicitRepresentation in interface GenericCityObject

isSetLod2TerrainIntersection

public boolean isSetLod2TerrainIntersection()
Specified by:
isSetLod2TerrainIntersection in interface GenericCityObject

isSetLod3Geometry

public boolean isSetLod3Geometry()
Specified by:
isSetLod3Geometry in interface GenericCityObject

isSetLod3ImplicitRepresentation

public boolean isSetLod3ImplicitRepresentation()
Specified by:
isSetLod3ImplicitRepresentation in interface GenericCityObject

isSetLod3TerrainIntersection

public boolean isSetLod3TerrainIntersection()
Specified by:
isSetLod3TerrainIntersection in interface GenericCityObject

isSetLod4Geometry

public boolean isSetLod4Geometry()
Specified by:
isSetLod4Geometry in interface GenericCityObject

isSetLod4ImplicitRepresentation

public boolean isSetLod4ImplicitRepresentation()
Specified by:
isSetLod4ImplicitRepresentation in interface GenericCityObject

isSetLod4TerrainIntersection

public boolean isSetLod4TerrainIntersection()
Specified by:
isSetLod4TerrainIntersection in interface GenericCityObject

isSetUsage

public boolean isSetUsage()
Specified by:
isSetUsage in interface GenericCityObject

setClazz

public void setClazz(java.lang.String clazz)
Specified by:
setClazz in interface GenericCityObject

setFunction

public void setFunction(java.util.List<java.lang.String> function)
Specified by:
setFunction in interface GenericCityObject

setLod0Geometry

public void setLod0Geometry(GeometryProperty<? extends AbstractGeometry> lod0Geometry)
Specified by:
setLod0Geometry in interface GenericCityObject

setLod0ImplicitRepresentation

public void setLod0ImplicitRepresentation(ImplicitRepresentationProperty lod0ImplicitRepresentation)
Specified by:
setLod0ImplicitRepresentation in interface GenericCityObject

setLod0TerrainIntersection

public void setLod0TerrainIntersection(MultiCurveProperty lod0TerrainIntersection)
Specified by:
setLod0TerrainIntersection in interface GenericCityObject

setLod1Geometry

public void setLod1Geometry(GeometryProperty<? extends AbstractGeometry> lod1Geometry)
Specified by:
setLod1Geometry in interface GenericCityObject

setLod1ImplicitRepresentation

public void setLod1ImplicitRepresentation(ImplicitRepresentationProperty lod1ImplicitRepresentation)
Specified by:
setLod1ImplicitRepresentation in interface GenericCityObject

setLod1TerrainIntersection

public void setLod1TerrainIntersection(MultiCurveProperty lod1TerrainIntersection)
Specified by:
setLod1TerrainIntersection in interface GenericCityObject

setLod2Geometry

public void setLod2Geometry(GeometryProperty<? extends AbstractGeometry> lod2Geometry)
Specified by:
setLod2Geometry in interface GenericCityObject

setLod2ImplicitRepresentation

public void setLod2ImplicitRepresentation(ImplicitRepresentationProperty lod2ImplicitRepresentation)
Specified by:
setLod2ImplicitRepresentation in interface GenericCityObject

setLod2TerrainIntersection

public void setLod2TerrainIntersection(MultiCurveProperty lod2TerrainIntersection)
Specified by:
setLod2TerrainIntersection in interface GenericCityObject

setLod3Geometry

public void setLod3Geometry(GeometryProperty<? extends AbstractGeometry> lod3Geometry)
Specified by:
setLod3Geometry in interface GenericCityObject

setLod3ImplicitRepresentation

public void setLod3ImplicitRepresentation(ImplicitRepresentationProperty lod3ImplicitRepresentation)
Specified by:
setLod3ImplicitRepresentation in interface GenericCityObject

setLod3TerrainIntersection

public void setLod3TerrainIntersection(MultiCurveProperty lod3TerrainIntersection)
Specified by:
setLod3TerrainIntersection in interface GenericCityObject

setLod4Geometry

public void setLod4Geometry(GeometryProperty<? extends AbstractGeometry> lod4Geometry)
Specified by:
setLod4Geometry in interface GenericCityObject

setLod4ImplicitRepresentation

public void setLod4ImplicitRepresentation(ImplicitRepresentationProperty lod4ImplicitRepresentation)
Specified by:
setLod4ImplicitRepresentation in interface GenericCityObject

setLod4TerrainIntersection

public void setLod4TerrainIntersection(MultiCurveProperty lod4TerrainIntersection)
Specified by:
setLod4TerrainIntersection in interface GenericCityObject

setUsage

public void setUsage(java.util.List<java.lang.String> usage)
Specified by:
setUsage in interface GenericCityObject

unsetClazz

public void unsetClazz()
Specified by:
unsetClazz in interface GenericCityObject

unsetFunction

public void unsetFunction()
Specified by:
unsetFunction in interface GenericCityObject

unsetFunction

public boolean unsetFunction(java.lang.String function)
Specified by:
unsetFunction in interface GenericCityObject

unsetLod0Geometry

public void unsetLod0Geometry()
Specified by:
unsetLod0Geometry in interface GenericCityObject

unsetLod0ImplicitRepresentation

public void unsetLod0ImplicitRepresentation()
Specified by:
unsetLod0ImplicitRepresentation in interface GenericCityObject

unsetLod0TerrainIntersection

public void unsetLod0TerrainIntersection()
Specified by:
unsetLod0TerrainIntersection in interface GenericCityObject

unsetLod1Geometry

public void unsetLod1Geometry()
Specified by:
unsetLod1Geometry in interface GenericCityObject

unsetLod1ImplicitRepresentation

public void unsetLod1ImplicitRepresentation()
Specified by:
unsetLod1ImplicitRepresentation in interface GenericCityObject

unsetLod1TerrainIntersection

public void unsetLod1TerrainIntersection()
Specified by:
unsetLod1TerrainIntersection in interface GenericCityObject

unsetLod2Geometry

public void unsetLod2Geometry()
Specified by:
unsetLod2Geometry in interface GenericCityObject

unsetLod2ImplicitRepresentation

public void unsetLod2ImplicitRepresentation()
Specified by:
unsetLod2ImplicitRepresentation in interface GenericCityObject

unsetLod2TerrainIntersection

public void unsetLod2TerrainIntersection()
Specified by:
unsetLod2TerrainIntersection in interface GenericCityObject

unsetLod3Geometry

public void unsetLod3Geometry()
Specified by:
unsetLod3Geometry in interface GenericCityObject

unsetLod3ImplicitRepresentation

public void unsetLod3ImplicitRepresentation()
Specified by:
unsetLod3ImplicitRepresentation in interface GenericCityObject

unsetLod3TerrainIntersection

public void unsetLod3TerrainIntersection()
Specified by:
unsetLod3TerrainIntersection in interface GenericCityObject

unsetLod4Geometry

public void unsetLod4Geometry()
Specified by:
unsetLod4Geometry in interface GenericCityObject

unsetLod4ImplicitRepresentation

public void unsetLod4ImplicitRepresentation()
Specified by:
unsetLod4ImplicitRepresentation in interface GenericCityObject

unsetLod4TerrainIntersection

public void unsetLod4TerrainIntersection()
Specified by:
unsetLod4TerrainIntersection in interface GenericCityObject

unsetUsage

public void unsetUsage()
Specified by:
unsetUsage in interface GenericCityObject

unsetUsage

public boolean unsetUsage(java.lang.String usage)
Specified by:
unsetUsage in interface GenericCityObject

getCityGMLClass

public CityGMLClass getCityGMLClass()
Specified by:
getCityGMLClass in interface CityGML

getCityGMLModule

public final GenericsModule getCityGMLModule()
Specified by:
getCityGMLModule in interface CityGML
Overrides:
getCityGMLModule in class AbstractCityObjectImpl

isSetCityGMLModule

public boolean isSetCityGMLModule()
Specified by:
isSetCityGMLModule in interface CityGML
Overrides:
isSetCityGMLModule in class AbstractCityObjectImpl

calcBoundedBy

public BoundingShape calcBoundedBy(boolean setBoundedBy)
Specified by:
calcBoundedBy in interface AbstractFeature
Overrides:
calcBoundedBy in class AbstractFeatureImpl

getLodRepresentation

public LodRepresentation getLodRepresentation()
Specified by:
getLodRepresentation in interface AbstractCityObject
Overrides:
getLodRepresentation in class AbstractCityObjectImpl

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
Overrides:
copyTo in class AbstractCityObjectImpl

accept

public void accept(FeatureVisitor visitor)
Specified by:
accept in interface AbstractFeature

accept

public <T> T accept(FeatureFunctor<T> visitor)
Specified by:
accept in interface AbstractFeature

accept

public void accept(GMLVisitor visitor)
Specified by:
accept in interface AbstractGML

accept

public <T> T accept(GMLFunctor<T> visitor)
Specified by:
accept in interface AbstractGML