Class AbstractGMLType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractGMLType
-
- Direct Known Subclasses:
AbstractGeometryType,ArrayType,BagType,DefinitionType
public abstract class AbstractGMLType extends Object
All complexContent GML elements are directly or indirectly derived from this abstract supertype to establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry. Elements in this hierarchy may have an ID and are thus referenceable.Java class for AbstractGMLType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractGMLType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.opengis.net/gml}StandardObjectProperties"/> </sequence> <attribute ref="{http://www.opengis.net/gml}id"/> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Descriptiondescriptionprotected Stringidprotected List<MetaDataProperty>metaDataPropertyprotected List<Name>name
-
Constructor Summary
Constructors Constructor Description AbstractGMLType()Default no-arg constructorAbstractGMLType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptiongetDescription()Gets the value of the description property.StringgetId()Gets the value of the id property.List<MetaDataProperty>getMetaDataProperty()Gets the value of the metaDataProperty property.List<Name>getName()Multiple names may be provided.voidsetDescription(Description value)Sets the value of the description property.voidsetId(String value)Sets the value of the id property.
-
-
-
Field Detail
-
metaDataProperty
protected List<MetaDataProperty> metaDataProperty
-
description
protected Description description
-
id
protected String id
-
-
Constructor Detail
-
AbstractGMLType
public AbstractGMLType()
Default no-arg constructor
-
AbstractGMLType
public AbstractGMLType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id)
Fully-initialising value constructor
-
-
Method Detail
-
getMetaDataProperty
public List<MetaDataProperty> getMetaDataProperty()
Gets the value of the metaDataProperty 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
setmethod for the metaDataProperty property.For example, to add a new item, do as follows:
getMetaDataProperty().add(newItem);Objects of the following type(s) are allowed in the list
MetaDataProperty
-
getDescription
public Description getDescription()
Gets the value of the description property.- Returns:
- possible object is
Description
-
setDescription
public void setDescription(Description value)
Sets the value of the description property.- Parameters:
value- allowed object isDescription
-
getName
public List<Name> getName()
Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.Gets the value of the name 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
setmethod for the name property.For example, to add a new item, do as follows:
getName().add(newItem);Objects of the following type(s) are allowed in the list
Name
-
-