Class AbstractCityObjectType
- java.lang.Object
-
- net.opengis.gml.v_3_1_1.AbstractGMLType
-
- net.opengis.gml.v_3_1_1.AbstractFeatureType
-
- net.opengis.citygml.v_2_0.AbstractCityObjectType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
AbstractBoundarySurfaceType,AbstractBoundarySurfaceType,AbstractBoundarySurfaceType,AbstractOpeningType,AbstractOpeningType,AbstractOpeningType,AbstractReliefComponentType,AbstractSiteType,AbstractTransportationObjectType,AbstractVegetationObjectType,AbstractWaterBoundarySurfaceType,AbstractWaterObjectType,BridgeConstructionElementType,BridgeFurnitureType,BridgeInstallationType,BridgeRoomType,BuildingFurnitureType,BuildingInstallationType,CityFurnitureType,CityObjectGroupType,GenericCityObjectType,HollowSpaceType,IntBridgeInstallationType,IntBuildingInstallationType,IntTunnelInstallationType,LandUseType,ReliefFeatureType,RoomType,TunnelFurnitureType,TunnelInstallationType
public abstract class AbstractCityObjectType extends AbstractFeatureType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Type describing the abstract superclass of most CityGML features. Its purpose is to provide a creation and a termination date as well as a reference to corresponding objects in other information systems. A generalization relation may be used to relate features, which represent the same real-world object in different Levels-of-Detail, i.e. a feature and its generalized counterpart(s). The direction of this relation is from the feature to the corresponding generalized feature.Java class for AbstractCityObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractCityObjectType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractFeatureType"> <sequence> <element name="creationDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="terminationDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="externalReference" type="{http://www.opengis.net/citygml/2.0}ExternalReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="generalizesTo" type="{http://www.opengis.net/citygml/2.0}GeneralizationRelationType" maxOccurs="unbounded" minOccurs="0"/> <element name="relativeToTerrain" type="{http://www.opengis.net/citygml/2.0}RelativeToTerrainType" minOccurs="0"/> <element name="relativeToWater" type="{http://www.opengis.net/citygml/2.0}RelativeToWaterType" minOccurs="0"/> <element ref="{http://www.opengis.net/citygml/2.0}_GenericApplicationPropertyOfCityObject" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected XMLGregorianCalendarcreationDateprotected List<ExternalReferenceType>externalReferenceprotected List<GeneralizationRelationType>generalizesToprotected List<jakarta.xml.bind.JAXBElement<?>>genericApplicationPropertyOfCityObjectprotected RelativeToTerrainTyperelativeToTerrainprotected RelativeToWaterTyperelativeToWaterprotected XMLGregorianCalendarterminationDate-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
boundedBy, location
-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description AbstractCityObjectType()Default no-arg constructorAbstractCityObjectType(XMLGregorianCalendar creationDate, XMLGregorianCalendar terminationDate, List<ExternalReferenceType> externalReference, List<GeneralizationRelationType> generalizesTo, RelativeToTerrainType relativeToTerrain, RelativeToWaterType relativeToWater, List<jakarta.xml.bind.JAXBElement<?>> genericApplicationPropertyOfCityObject)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)XMLGregorianCalendargetCreationDate()Gets the value of the creationDate property.List<ExternalReferenceType>getExternalReference()Gets the value of the externalReference property.List<GeneralizationRelationType>getGeneralizesTo()Gets the value of the generalizesTo property.List<jakarta.xml.bind.JAXBElement<?>>getGenericApplicationPropertyOfCityObject()Gets the value of the genericApplicationPropertyOfCityObject property.RelativeToTerrainTypegetRelativeToTerrain()Gets the value of the relativeToTerrain property.RelativeToWaterTypegetRelativeToWater()Gets the value of the relativeToWater property.XMLGregorianCalendargetTerminationDate()Gets the value of the terminationDate property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetCreationDate()booleanisSetExternalReference()booleanisSetGeneralizesTo()booleanisSetGenericApplicationPropertyOfCityObject()booleanisSetRelativeToTerrain()booleanisSetRelativeToWater()booleanisSetTerminationDate()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetCreationDate(XMLGregorianCalendar value)Sets the value of the creationDate property.voidsetExternalReference(List<ExternalReferenceType> value)voidsetGeneralizesTo(List<GeneralizationRelationType> value)voidsetGenericApplicationPropertyOfCityObject(List<jakarta.xml.bind.JAXBElement<?>> value)voidsetRelativeToTerrain(RelativeToTerrainType value)Sets the value of the relativeToTerrain property.voidsetRelativeToWater(RelativeToWaterType value)Sets the value of the relativeToWater property.voidsetTerminationDate(XMLGregorianCalendar value)Sets the value of the terminationDate property.StringtoString()voidunsetExternalReference()voidunsetGeneralizesTo()voidunsetGenericApplicationPropertyOfCityObject()AbstractCityObjectTypewithCreationDate(XMLGregorianCalendar value)AbstractCityObjectTypewithExternalReference(Collection<ExternalReferenceType> values)AbstractCityObjectTypewithExternalReference(List<ExternalReferenceType> value)AbstractCityObjectTypewithExternalReference(ExternalReferenceType... values)AbstractCityObjectTypewithGeneralizesTo(Collection<GeneralizationRelationType> values)AbstractCityObjectTypewithGeneralizesTo(List<GeneralizationRelationType> value)AbstractCityObjectTypewithGeneralizesTo(GeneralizationRelationType... values)AbstractCityObjectTypewithGenericApplicationPropertyOfCityObject(jakarta.xml.bind.JAXBElement<?>... values)AbstractCityObjectTypewithGenericApplicationPropertyOfCityObject(Collection<jakarta.xml.bind.JAXBElement<?>> values)AbstractCityObjectTypewithGenericApplicationPropertyOfCityObject(List<jakarta.xml.bind.JAXBElement<?>> value)AbstractCityObjectTypewithRelativeToTerrain(RelativeToTerrainType value)AbstractCityObjectTypewithRelativeToWater(RelativeToWaterType value)AbstractCityObjectTypewithTerminationDate(XMLGregorianCalendar value)-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractFeatureType
getBoundedBy, getLocation, isSetBoundedBy, isSetLocation, setBoundedBy, setLocation, withBoundedBy, withDescription, withId, withLocation, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
-
-
-
-
Field Detail
-
creationDate
protected XMLGregorianCalendar creationDate
-
terminationDate
protected XMLGregorianCalendar terminationDate
-
externalReference
protected List<ExternalReferenceType> externalReference
-
generalizesTo
protected List<GeneralizationRelationType> generalizesTo
-
relativeToTerrain
protected RelativeToTerrainType relativeToTerrain
-
relativeToWater
protected RelativeToWaterType relativeToWater
-
genericApplicationPropertyOfCityObject
protected List<jakarta.xml.bind.JAXBElement<?>> genericApplicationPropertyOfCityObject
-
-
Constructor Detail
-
AbstractCityObjectType
public AbstractCityObjectType()
Default no-arg constructor
-
AbstractCityObjectType
public AbstractCityObjectType(XMLGregorianCalendar creationDate, XMLGregorianCalendar terminationDate, List<ExternalReferenceType> externalReference, List<GeneralizationRelationType> generalizesTo, RelativeToTerrainType relativeToTerrain, RelativeToWaterType relativeToWater, List<jakarta.xml.bind.JAXBElement<?>> genericApplicationPropertyOfCityObject)
Fully-initialising value constructor
-
-
Method Detail
-
getCreationDate
public XMLGregorianCalendar getCreationDate()
Gets the value of the creationDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCreationDate
public void setCreationDate(XMLGregorianCalendar value)
Sets the value of the creationDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isSetCreationDate
public boolean isSetCreationDate()
-
getTerminationDate
public XMLGregorianCalendar getTerminationDate()
Gets the value of the terminationDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTerminationDate
public void setTerminationDate(XMLGregorianCalendar value)
Sets the value of the terminationDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isSetTerminationDate
public boolean isSetTerminationDate()
-
getExternalReference
public List<ExternalReferenceType> getExternalReference()
Gets the value of the externalReference property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the externalReference property.For example, to add a new item, do as follows:
getExternalReference().add(newItem);Objects of the following type(s) are allowed in the list
ExternalReferenceType
-
isSetExternalReference
public boolean isSetExternalReference()
-
unsetExternalReference
public void unsetExternalReference()
-
getGeneralizesTo
public List<GeneralizationRelationType> getGeneralizesTo()
Gets the value of the generalizesTo property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the generalizesTo property.For example, to add a new item, do as follows:
getGeneralizesTo().add(newItem);Objects of the following type(s) are allowed in the list
GeneralizationRelationType
-
isSetGeneralizesTo
public boolean isSetGeneralizesTo()
-
unsetGeneralizesTo
public void unsetGeneralizesTo()
-
getRelativeToTerrain
public RelativeToTerrainType getRelativeToTerrain()
Gets the value of the relativeToTerrain property.- Returns:
- possible object is
RelativeToTerrainType
-
setRelativeToTerrain
public void setRelativeToTerrain(RelativeToTerrainType value)
Sets the value of the relativeToTerrain property.- Parameters:
value- allowed object isRelativeToTerrainType
-
isSetRelativeToTerrain
public boolean isSetRelativeToTerrain()
-
getRelativeToWater
public RelativeToWaterType getRelativeToWater()
Gets the value of the relativeToWater property.- Returns:
- possible object is
RelativeToWaterType
-
setRelativeToWater
public void setRelativeToWater(RelativeToWaterType value)
Sets the value of the relativeToWater property.- Parameters:
value- allowed object isRelativeToWaterType
-
isSetRelativeToWater
public boolean isSetRelativeToWater()
-
getGenericApplicationPropertyOfCityObject
public List<jakarta.xml.bind.JAXBElement<?>> getGenericApplicationPropertyOfCityObject()
Gets the value of the genericApplicationPropertyOfCityObject property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the genericApplicationPropertyOfCityObject property.For example, to add a new item, do as follows:
getGenericApplicationPropertyOfCityObject().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<Object>JAXBElement<AppearancePropertyType>JAXBElement<AbstractGenericAttributeType>JAXBElement<DateAttributeType>JAXBElement<DoubleAttributeType>JAXBElement<GenericAttributeSetType>JAXBElement<IntAttributeType>JAXBElement<MeasureAttributeType>JAXBElement<StringAttributeType>JAXBElement<UriAttributeType>
-
isSetGenericApplicationPropertyOfCityObject
public boolean isSetGenericApplicationPropertyOfCityObject()
-
unsetGenericApplicationPropertyOfCityObject
public void unsetGenericApplicationPropertyOfCityObject()
-
toString
public String toString()
- Overrides:
toStringin classAbstractFeatureType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classAbstractFeatureType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classAbstractFeatureType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classAbstractFeatureType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractFeatureType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classAbstractFeatureType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractFeatureType
-
clone
public Object clone()
- Overrides:
clonein classAbstractFeatureType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractFeatureType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractFeatureType
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractFeatureType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractFeatureType
-
setExternalReference
public void setExternalReference(List<ExternalReferenceType> value)
-
setGeneralizesTo
public void setGeneralizesTo(List<GeneralizationRelationType> value)
-
setGenericApplicationPropertyOfCityObject
public void setGenericApplicationPropertyOfCityObject(List<jakarta.xml.bind.JAXBElement<?>> value)
-
withCreationDate
public AbstractCityObjectType withCreationDate(XMLGregorianCalendar value)
-
withTerminationDate
public AbstractCityObjectType withTerminationDate(XMLGregorianCalendar value)
-
withExternalReference
public AbstractCityObjectType withExternalReference(ExternalReferenceType... values)
-
withExternalReference
public AbstractCityObjectType withExternalReference(Collection<ExternalReferenceType> values)
-
withGeneralizesTo
public AbstractCityObjectType withGeneralizesTo(GeneralizationRelationType... values)
-
withGeneralizesTo
public AbstractCityObjectType withGeneralizesTo(Collection<GeneralizationRelationType> values)
-
withRelativeToTerrain
public AbstractCityObjectType withRelativeToTerrain(RelativeToTerrainType value)
-
withRelativeToWater
public AbstractCityObjectType withRelativeToWater(RelativeToWaterType value)
-
withGenericApplicationPropertyOfCityObject
public AbstractCityObjectType withGenericApplicationPropertyOfCityObject(jakarta.xml.bind.JAXBElement<?>... values)
-
withGenericApplicationPropertyOfCityObject
public AbstractCityObjectType withGenericApplicationPropertyOfCityObject(Collection<jakarta.xml.bind.JAXBElement<?>> values)
-
withExternalReference
public AbstractCityObjectType withExternalReference(List<ExternalReferenceType> value)
-
withGeneralizesTo
public AbstractCityObjectType withGeneralizesTo(List<GeneralizationRelationType> value)
-
withGenericApplicationPropertyOfCityObject
public AbstractCityObjectType withGenericApplicationPropertyOfCityObject(List<jakarta.xml.bind.JAXBElement<?>> value)
-
-