Class AbstractCityObjectType
- java.lang.Object
-
- org.citygml4j.binding.cityjson.feature.AbstractCityObjectType
-
- All Implemented Interfaces:
ExtensibleType
,Extension
- Direct Known Subclasses:
AbstractBridgeType
,AbstractBuildingType
,AbstractTransportationComplexType
,AbstractTunnelType
,AbstractVegetationObjectType
,BridgeConstructionElementType
,BridgeInstallationType
,BuildingInstallationType
,CityFurnitureType
,CityObjectGroupType
,GenericCityObjectType
,LandUseType
,TINReliefType
,TunnelInstallationType
,WaterBodyType
public abstract class AbstractCityObjectType extends java.lang.Object implements ExtensibleType, Extension
-
-
Constructor Summary
Constructors Constructor Description AbstractCityObjectType()
AbstractCityObjectType(java.lang.String gmlId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addChild(java.lang.String child)
void
addChild(AbstractCityObjectType child)
void
addExtensionProperty(java.lang.String name, java.lang.Object value)
void
addGeometry(AbstractGeometryType geometry)
void
addParent(java.lang.String parent)
void
addParent(AbstractCityObjectType parent)
Attributes
getAttributes()
java.util.Set<java.lang.String>
getChildren()
java.util.Map<java.lang.String,java.lang.Object>
getExtensionProperties()
java.util.List<java.lang.Double>
getGeographicalExtent()
java.util.List<AbstractGeometryType>
getGeometry()
java.lang.String
getGmlId()
java.lang.Object
getLocalProperty(java.lang.String name)
java.util.Set<java.lang.String>
getParents()
java.lang.String
getType()
boolean
hasLocalProperty(java.lang.String name)
boolean
isSetAttributes()
boolean
isSetChildren()
boolean
isSetExtensionProperties()
boolean
isSetGeographicalExtent()
boolean
isSetGmlId()
boolean
isSetParent()
abstract boolean
isValidGeometryType(GeometryTypeName type)
abstract Attributes
newAttributes()
protected <T extends Attributes>
TnewAttributes(T attributes)
void
removeExtensionProperty(java.lang.String name)
void
removeGeometry(AbstractGeometryType geometry)
void
setChildren(java.util.Set<java.lang.String> children)
void
setExtensionProperties(java.util.Map<java.lang.String,java.lang.Object> extensionProperties)
void
setGeographicalExtent(java.util.List<java.lang.Double> geographicalExtent)
void
setGeometry(java.util.List<AbstractGeometryType> geometry)
void
setGmlId(java.lang.String gmlId)
void
setLocalProperty(java.lang.String name, java.lang.Object value)
void
setParents(java.util.Set<java.lang.String> parents)
void
unsetAttributes()
void
unsetChildren()
void
unsetExtensionProperties()
void
unsetGeographicalExtent()
void
unsetGeometry()
java.lang.Object
unsetLocalProperty(java.lang.String name)
void
unsetParents()
-
-
-
Method Detail
-
newAttributes
public abstract Attributes newAttributes()
-
isValidGeometryType
public abstract boolean isValidGeometryType(GeometryTypeName type)
-
newAttributes
protected final <T extends Attributes> T newAttributes(T attributes)
-
getAttributes
public Attributes getAttributes()
-
isSetAttributes
public final boolean isSetAttributes()
-
unsetAttributes
public final void unsetAttributes()
-
isSetGmlId
public boolean isSetGmlId()
-
getGmlId
public java.lang.String getGmlId()
-
setGmlId
public void setGmlId(java.lang.String gmlId)
-
getType
public final java.lang.String getType()
-
isSetGeographicalExtent
public boolean isSetGeographicalExtent()
-
getGeographicalExtent
public java.util.List<java.lang.Double> getGeographicalExtent()
-
setGeographicalExtent
public void setGeographicalExtent(java.util.List<java.lang.Double> geographicalExtent)
-
unsetGeographicalExtent
public void unsetGeographicalExtent()
-
isSetChildren
public boolean isSetChildren()
-
addChild
public void addChild(java.lang.String child)
-
addChild
public void addChild(AbstractCityObjectType child)
- Specified by:
addChild
in interfaceExtensibleType
-
getChildren
public java.util.Set<java.lang.String> getChildren()
-
setChildren
public void setChildren(java.util.Set<java.lang.String> children)
-
unsetChildren
public void unsetChildren()
-
isSetParent
public boolean isSetParent()
-
addParent
public void addParent(java.lang.String parent)
-
addParent
public void addParent(AbstractCityObjectType parent)
-
getParents
public java.util.Set<java.lang.String> getParents()
-
setParents
public void setParents(java.util.Set<java.lang.String> parents)
-
unsetParents
public void unsetParents()
-
addGeometry
public void addGeometry(AbstractGeometryType geometry)
-
getGeometry
public java.util.List<AbstractGeometryType> getGeometry()
-
setGeometry
public void setGeometry(java.util.List<AbstractGeometryType> geometry)
-
removeGeometry
public void removeGeometry(AbstractGeometryType geometry)
-
unsetGeometry
public void unsetGeometry()
-
isSetExtensionProperties
public boolean isSetExtensionProperties()
-
addExtensionProperty
public void addExtensionProperty(java.lang.String name, java.lang.Object value)
-
getExtensionProperties
public java.util.Map<java.lang.String,java.lang.Object> getExtensionProperties()
-
setExtensionProperties
public void setExtensionProperties(java.util.Map<java.lang.String,java.lang.Object> extensionProperties)
-
removeExtensionProperty
public void removeExtensionProperty(java.lang.String name)
-
unsetExtensionProperties
public void unsetExtensionProperties()
-
getLocalProperty
public java.lang.Object getLocalProperty(java.lang.String name)
-
setLocalProperty
public void setLocalProperty(java.lang.String name, java.lang.Object value)
-
hasLocalProperty
public boolean hasLocalProperty(java.lang.String name)
-
unsetLocalProperty
public java.lang.Object unsetLocalProperty(java.lang.String name)
-
-