Class CityObjectGroupType
- 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
-
- net.opengis.citygml.cityobjectgroup.v_2_0.CityObjectGroupType
-
- 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
public class CityObjectGroupType extends AbstractCityObjectType 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
A group may be used to aggregate arbitrary CityObjects according to some user-defined criteria. Examples for groups are the buildings in a specific region, the result of a query, or objects put together for visualization purposes. Each group has a name (inherited from AbstractGMLType), functions (e.g., building group), a class and zero or more usages. A geometry may optionally be attached to a group, if the geometry of the whole group differs from the geometry of the parts. Each member of a group may be qualified by a role name, reflecting the role each CityObject plays in the context of the group. As subclass of _CityObject, a CityObjectGroup inherits all attributes and relations, in particular an id, names, external references, and generalization relations. As CityObjectGroup itself is a CityObject, it may also be contained by another group.Java class for CityObjectGroupType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CityObjectGroupType"> <complexContent> <extension base="{http://www.opengis.net/citygml/2.0}AbstractCityObjectType"> <sequence> <element name="class" type="{http://www.opengis.net/gml}CodeType" minOccurs="0"/> <element name="function" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/> <element name="usage" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/> <element name="groupMember" type="{http://www.opengis.net/citygml/cityobjectgroup/2.0}CityObjectGroupMemberType" maxOccurs="unbounded" minOccurs="0"/> <element name="parent" type="{http://www.opengis.net/citygml/cityobjectgroup/2.0}CityObjectGroupParentType" minOccurs="0"/> <element name="geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/> <element ref="{http://www.opengis.net/citygml/cityobjectgroup/2.0}_GenericApplicationPropertyOfCityObjectGroup" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeTypeclazzprotected List<CodeType>functionprotected List<Object>genericApplicationPropertyOfCityObjectGroupprotected GeometryPropertyTypegeometryprotected List<CityObjectGroupMemberType>groupMemberprotected CityObjectGroupParentTypeparentprotected List<CodeType>usage-
Fields inherited from class net.opengis.citygml.v_2_0.AbstractCityObjectType
creationDate, externalReference, generalizesTo, genericApplicationPropertyOfCityObject, relativeToTerrain, relativeToWater, terminationDate
-
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 CityObjectGroupType()Default no-arg constructorCityObjectGroupType(XMLGregorianCalendar creationDate, XMLGregorianCalendar terminationDate, List<ExternalReferenceType> externalReference, List<GeneralizationRelationType> generalizesTo, RelativeToTerrainType relativeToTerrain, RelativeToWaterType relativeToWater, List<jakarta.xml.bind.JAXBElement<?>> genericApplicationPropertyOfCityObject, CodeType clazz, List<CodeType> function, List<CodeType> usage, List<CityObjectGroupMemberType> groupMember, CityObjectGroupParentType parent, GeometryPropertyType geometry, List<Object> genericApplicationPropertyOfCityObjectGroup)Fully-initialising value constructor
-
Method Summary
-
Methods inherited from class net.opengis.citygml.v_2_0.AbstractCityObjectType
getCreationDate, getExternalReference, getGeneralizesTo, getGenericApplicationPropertyOfCityObject, getRelativeToTerrain, getRelativeToWater, getTerminationDate, isSetCreationDate, isSetExternalReference, isSetGeneralizesTo, isSetGenericApplicationPropertyOfCityObject, isSetRelativeToTerrain, isSetRelativeToWater, isSetTerminationDate, setCreationDate, setExternalReference, setGeneralizesTo, setGenericApplicationPropertyOfCityObject, setRelativeToTerrain, setRelativeToWater, setTerminationDate, unsetExternalReference, unsetGeneralizesTo, unsetGenericApplicationPropertyOfCityObject
-
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
-
clazz
protected CodeType clazz
-
groupMember
protected List<CityObjectGroupMemberType> groupMember
-
parent
protected CityObjectGroupParentType parent
-
geometry
protected GeometryPropertyType geometry
-
-
Constructor Detail
-
CityObjectGroupType
public CityObjectGroupType()
Default no-arg constructor
-
CityObjectGroupType
public CityObjectGroupType(XMLGregorianCalendar creationDate, XMLGregorianCalendar terminationDate, List<ExternalReferenceType> externalReference, List<GeneralizationRelationType> generalizesTo, RelativeToTerrainType relativeToTerrain, RelativeToWaterType relativeToWater, List<jakarta.xml.bind.JAXBElement<?>> genericApplicationPropertyOfCityObject, CodeType clazz, List<CodeType> function, List<CodeType> usage, List<CityObjectGroupMemberType> groupMember, CityObjectGroupParentType parent, GeometryPropertyType geometry, List<Object> genericApplicationPropertyOfCityObjectGroup)
Fully-initialising value constructor
-
-
Method Detail
-
getClazz
public CodeType getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
CodeType
-
setClazz
public void setClazz(CodeType value)
Sets the value of the clazz property.- Parameters:
value- allowed object isCodeType
-
isSetClazz
public boolean isSetClazz()
-
getFunction
public List<CodeType> getFunction()
Gets the value of the function 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 function property.For example, to add a new item, do as follows:
getFunction().add(newItem);Objects of the following type(s) are allowed in the list
CodeType
-
isSetFunction
public boolean isSetFunction()
-
unsetFunction
public void unsetFunction()
-
getUsage
public List<CodeType> getUsage()
Gets the value of the usage 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 usage property.For example, to add a new item, do as follows:
getUsage().add(newItem);Objects of the following type(s) are allowed in the list
CodeType
-
isSetUsage
public boolean isSetUsage()
-
unsetUsage
public void unsetUsage()
-
getGroupMember
public List<CityObjectGroupMemberType> getGroupMember()
Gets the value of the groupMember 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 groupMember property.For example, to add a new item, do as follows:
getGroupMember().add(newItem);Objects of the following type(s) are allowed in the list
CityObjectGroupMemberType
-
isSetGroupMember
public boolean isSetGroupMember()
-
unsetGroupMember
public void unsetGroupMember()
-
getParent
public CityObjectGroupParentType getParent()
Gets the value of the parent property.- Returns:
- possible object is
CityObjectGroupParentType
-
setParent
public void setParent(CityObjectGroupParentType value)
Sets the value of the parent property.- Parameters:
value- allowed object isCityObjectGroupParentType
-
isSetParent
public boolean isSetParent()
-
getGeometry
public GeometryPropertyType getGeometry()
Gets the value of the geometry property.- Returns:
- possible object is
GeometryPropertyType
-
setGeometry
public void setGeometry(GeometryPropertyType value)
Sets the value of the geometry property.- Parameters:
value- allowed object isGeometryPropertyType
-
isSetGeometry
public boolean isSetGeometry()
-
getGenericApplicationPropertyOfCityObjectGroup
public List<Object> getGenericApplicationPropertyOfCityObjectGroup()
Gets the value of the genericApplicationPropertyOfCityObjectGroup 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 genericApplicationPropertyOfCityObjectGroup property.For example, to add a new item, do as follows:
getGenericApplicationPropertyOfCityObjectGroup().add(newItem);Objects of the following type(s) are allowed in the list
Object
-
isSetGenericApplicationPropertyOfCityObjectGroup
public boolean isSetGenericApplicationPropertyOfCityObjectGroup()
-
unsetGenericApplicationPropertyOfCityObjectGroup
public void unsetGenericApplicationPropertyOfCityObjectGroup()
-
toString
public String toString()
- Overrides:
toStringin classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCityObjectType
-
clone
public Object clone()
- Overrides:
clonein classAbstractCityObjectType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractCityObjectType
-
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 classAbstractCityObjectType
-
setGroupMember
public void setGroupMember(List<CityObjectGroupMemberType> value)
-
setGenericApplicationPropertyOfCityObjectGroup
public void setGenericApplicationPropertyOfCityObjectGroup(List<Object> value)
-
withClazz
public CityObjectGroupType withClazz(CodeType value)
-
withFunction
public CityObjectGroupType withFunction(CodeType... values)
-
withFunction
public CityObjectGroupType withFunction(Collection<CodeType> values)
-
withUsage
public CityObjectGroupType withUsage(CodeType... values)
-
withUsage
public CityObjectGroupType withUsage(Collection<CodeType> values)
-
withGroupMember
public CityObjectGroupType withGroupMember(CityObjectGroupMemberType... values)
-
withGroupMember
public CityObjectGroupType withGroupMember(Collection<CityObjectGroupMemberType> values)
-
withParent
public CityObjectGroupType withParent(CityObjectGroupParentType value)
-
withGeometry
public CityObjectGroupType withGeometry(GeometryPropertyType value)
-
withGenericApplicationPropertyOfCityObjectGroup
public CityObjectGroupType withGenericApplicationPropertyOfCityObjectGroup(Object... values)
-
withGenericApplicationPropertyOfCityObjectGroup
public CityObjectGroupType withGenericApplicationPropertyOfCityObjectGroup(Collection<Object> values)
-
withFunction
public CityObjectGroupType withFunction(List<CodeType> value)
-
withUsage
public CityObjectGroupType withUsage(List<CodeType> value)
-
withGroupMember
public CityObjectGroupType withGroupMember(List<CityObjectGroupMemberType> value)
-
withGenericApplicationPropertyOfCityObjectGroup
public CityObjectGroupType withGenericApplicationPropertyOfCityObjectGroup(List<Object> value)
-
withCreationDate
public CityObjectGroupType withCreationDate(XMLGregorianCalendar value)
- Overrides:
withCreationDatein classAbstractCityObjectType
-
withTerminationDate
public CityObjectGroupType withTerminationDate(XMLGregorianCalendar value)
- Overrides:
withTerminationDatein classAbstractCityObjectType
-
withExternalReference
public CityObjectGroupType withExternalReference(ExternalReferenceType... values)
- Overrides:
withExternalReferencein classAbstractCityObjectType
-
withExternalReference
public CityObjectGroupType withExternalReference(Collection<ExternalReferenceType> values)
- Overrides:
withExternalReferencein classAbstractCityObjectType
-
withGeneralizesTo
public CityObjectGroupType withGeneralizesTo(GeneralizationRelationType... values)
- Overrides:
withGeneralizesToin classAbstractCityObjectType
-
withGeneralizesTo
public CityObjectGroupType withGeneralizesTo(Collection<GeneralizationRelationType> values)
- Overrides:
withGeneralizesToin classAbstractCityObjectType
-
withRelativeToTerrain
public CityObjectGroupType withRelativeToTerrain(RelativeToTerrainType value)
- Overrides:
withRelativeToTerrainin classAbstractCityObjectType
-
withRelativeToWater
public CityObjectGroupType withRelativeToWater(RelativeToWaterType value)
- Overrides:
withRelativeToWaterin classAbstractCityObjectType
-
withGenericApplicationPropertyOfCityObject
public CityObjectGroupType withGenericApplicationPropertyOfCityObject(jakarta.xml.bind.JAXBElement<?>... values)
- Overrides:
withGenericApplicationPropertyOfCityObjectin classAbstractCityObjectType
-
withGenericApplicationPropertyOfCityObject
public CityObjectGroupType withGenericApplicationPropertyOfCityObject(Collection<jakarta.xml.bind.JAXBElement<?>> values)
- Overrides:
withGenericApplicationPropertyOfCityObjectin classAbstractCityObjectType
-
withExternalReference
public CityObjectGroupType withExternalReference(List<ExternalReferenceType> value)
- Overrides:
withExternalReferencein classAbstractCityObjectType
-
withGeneralizesTo
public CityObjectGroupType withGeneralizesTo(List<GeneralizationRelationType> value)
- Overrides:
withGeneralizesToin classAbstractCityObjectType
-
withGenericApplicationPropertyOfCityObject
public CityObjectGroupType withGenericApplicationPropertyOfCityObject(List<jakarta.xml.bind.JAXBElement<?>> value)
- Overrides:
withGenericApplicationPropertyOfCityObjectin classAbstractCityObjectType
-
-