org.citygml4j.jaxb.citygml.grp._1
Class CityObjectGroupType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.gml._3_1_1.AbstractFeatureType
          extended by org.citygml4j.jaxb.citygml.core._1.AbstractCityObjectType
              extended by org.citygml4j.jaxb.citygml.grp._1.CityObjectGroupType

public class CityObjectGroupType
extends AbstractCityObjectType

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/1.0}AbstractCityObjectType">
       <sequence>
         <element name="class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="function" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="usage" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="groupMember" type="{http://www.opengis.net/citygml/cityobjectgroup/1.0}CityObjectGroupMemberType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="parent" type="{http://www.opengis.net/citygml/cityobjectgroup/1.0}CityObjectGroupParentType" minOccurs="0"/>
         <element name="geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
         <element ref="{http://www.opengis.net/citygml/cityobjectgroup/1.0}_GenericApplicationPropertyOfCityObjectGroup" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
CityObjectGroupType()
           
 
Method Summary
 java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> get_GenericApplicationPropertyOfCityObjectGroup()
          Gets the value of the genericApplicationPropertyOfCityObjectGroup property.
 java.lang.String getClazz()
          Gets the value of the clazz property.
 java.util.List<java.lang.String> getFunction()
          Gets the value of the function property.
 GeometryPropertyType getGeometry()
          Gets the value of the geometry property.
 java.util.List<CityObjectGroupMemberType> getGroupMember()
          Gets the value of the groupMember property.
 CityObjectGroupParentType getParent()
          Gets the value of the parent property.
 java.util.List<java.lang.String> getUsage()
          Gets the value of the usage property.
 boolean isSet_GenericApplicationPropertyOfCityObjectGroup()
           
 boolean isSetClazz()
           
 boolean isSetFunction()
           
 boolean isSetGeometry()
           
 boolean isSetGroupMember()
           
 boolean isSetParent()
           
 boolean isSetUsage()
           
 void set_GenericApplicationPropertyOfCityObjectGroup(java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> genericApplicationPropertyOfCityObjectGroup)
          Sets the value of the _GenericApplicationPropertyOfCityObjectGroup property.
 void setClazz(java.lang.String value)
          Sets the value of the clazz property.
 void setFunction(java.util.List<java.lang.String> function)
          Sets the value of the function property.
 void setGeometry(GeometryPropertyType value)
          Sets the value of the geometry property.
 void setGroupMember(java.util.List<CityObjectGroupMemberType> groupMember)
          Sets the value of the groupMember property.
 void setParent(CityObjectGroupParentType value)
          Sets the value of the parent property.
 void setUsage(java.util.List<java.lang.String> usage)
          Sets the value of the usage property.
 void unset_GenericApplicationPropertyOfCityObjectGroup()
           
 void unsetFunction()
           
 void unsetGroupMember()
           
 void unsetUsage()
           
 
Methods inherited from class org.citygml4j.jaxb.citygml.core._1.AbstractCityObjectType
get_GenericApplicationPropertyOfCityObject, get_GenericAttribute, getAppearance, getCreationDate, getExternalReference, getGeneralizesTo, getTerminationDate, isSet_GenericApplicationPropertyOfCityObject, isSet_GenericAttribute, isSetAppearance, isSetCreationDate, isSetExternalReference, isSetGeneralizesTo, isSetTerminationDate, set_GenericApplicationPropertyOfCityObject, set_GenericAttribute, setAppearance, setCreationDate, setExternalReference, setGeneralizesTo, setTerminationDate, unset_GenericApplicationPropertyOfCityObject, unset_GenericAttribute, unsetAppearance, unsetExternalReference, unsetGeneralizesTo
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractFeatureType
get_ADEComponent, getBoundedBy, getLocation, isSet_ADEComponent, isSetBoundedBy, isSetLocation, set_ADEComponent, setBoundedBy, setLocation, unset_ADEComponent
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CityObjectGroupType

public CityObjectGroupType()
Method Detail

getClazz

public java.lang.String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(java.lang.String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

isSetClazz

public boolean isSetClazz()

getFunction

public java.util.List<java.lang.String> 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 JAXB object. This is why there is not a set method 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 String


isSetFunction

public boolean isSetFunction()

unsetFunction

public void unsetFunction()

getUsage

public java.util.List<java.lang.String> 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 JAXB object. This is why there is not a set method 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 String


isSetUsage

public boolean isSetUsage()

unsetUsage

public void unsetUsage()

getGroupMember

public java.util.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 JAXB object. This is why there is not a set method 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 is CityObjectGroupParentType

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 is GeometryPropertyType

isSetGeometry

public boolean isSetGeometry()

get_GenericApplicationPropertyOfCityObjectGroup

public java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> get_GenericApplicationPropertyOfCityObjectGroup()
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 JAXB object. This is why there is not a set method for the genericApplicationPropertyOfCityObjectGroup property.

For example, to add a new item, do as follows:

    get_GenericApplicationPropertyOfCityObjectGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Object> JAXBElement<Object>


isSet_GenericApplicationPropertyOfCityObjectGroup

public boolean isSet_GenericApplicationPropertyOfCityObjectGroup()

unset_GenericApplicationPropertyOfCityObjectGroup

public void unset_GenericApplicationPropertyOfCityObjectGroup()

setFunction

public void setFunction(java.util.List<java.lang.String> function)
Sets the value of the function property.

Parameters:
function - allowed object is String

setUsage

public void setUsage(java.util.List<java.lang.String> usage)
Sets the value of the usage property.

Parameters:
usage - allowed object is String

setGroupMember

public void setGroupMember(java.util.List<CityObjectGroupMemberType> groupMember)
Sets the value of the groupMember property.

Parameters:
groupMember - allowed object is CityObjectGroupMemberType

set_GenericApplicationPropertyOfCityObjectGroup

public void set_GenericApplicationPropertyOfCityObjectGroup(java.util.List<javax.xml.bind.JAXBElement<java.lang.Object>> genericApplicationPropertyOfCityObjectGroup)
Sets the value of the _GenericApplicationPropertyOfCityObjectGroup property.

Parameters:
genericApplicationPropertyOfCityObjectGroup - allowed object is JAXBElement<Object> JAXBElement<Object>