public abstract class AbstractGML extends Object
| Constructor and Description |
|---|
AbstractGML() |
AbstractGML(CodeWithAuthority identifier) |
AbstractGML(CodeWithAuthority identifier,
String gmlId)
constructor
|
AbstractGML(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaDataProperty(AbstractMetaData metaDataProperty) |
void |
addMetaDataProperty(List<AbstractMetaData> metaDataProperty) |
AbstractGML |
addName(CodeType name)
Adds the name to the name list
|
AbstractGML |
addName(String name)
Add a feature name
|
AbstractGML |
addName(String name,
URI codespace)
Add a feature name
|
void |
copyTo(AbstractGML copyOf)
Copies values of this
AbstractGML to the committed
AbstractGML |
boolean |
equals(Object o) |
String |
getDescription()
Get feature description
|
CodeType |
getFirstName()
Get first feature name or null if feature has no names
|
String |
getGmlId()
Get GML id
|
String |
getHumanReadableIdentifier()
Get the string human readable identifier of this abstract feature
|
CodeWithAuthority |
getHumanReadableIdentifierCodeWithAuthority()
Get
CodeWithAuthority human readable identifier of this abstract
feature |
String |
getIdentifier()
Get the string identifier of this abstract feature
|
CodeWithAuthority |
getIdentifierCodeWithAuthority()
Get
CodeWithAuthority identifier of this abstract feature |
List<AbstractMetaData> |
getMetaDataProperty() |
List<CodeType> |
getName()
Get feature names
|
String |
getOriginalIdentifier()
Get the original string identifier of this abstract feature
|
CodeWithAuthority |
getOriginalIdentifierCodeWithAuthority()
Get
CodeWithAuthority original identifier of this abstract
feature |
int |
hashCode() |
boolean |
isReferenced()
Check whether feature is still contained in XML document by sign
#. |
boolean |
isSetDescription()
Check whether feature has a description
|
boolean |
isSetGmlID()
Check whether GML id is set
|
boolean |
isSetHumanReadableIdentifier() |
boolean |
isSetIdentifier() |
boolean |
isSetMetaDataProperty() |
boolean |
isSetName()
Check whether feature has a names
|
boolean |
isSetOriginalIdentifier() |
AbstractGML |
setDescription(String description)
Set feature description
|
void |
setGmlId(String gmlId)
Set GML id
|
AbstractGML |
setHumanReadableIdentifier(CodeWithAuthority humanReadableIdentifier)
Set human readable identifier
|
AbstractGML |
setHumanReadableIdentifier(String humanReadableIdentifier)
Set human readable identifier
|
AbstractGML |
setHumanReadableIdentifierAsIdentifier()
Set the human readable identifier as identifier and saves the identifier
as original identifier
|
AbstractGML |
setIdentifier(CodeWithAuthority identifier)
Set identifier
|
AbstractGML |
setIdentifier(String identifier)
Set identifier
|
void |
setMetaDataProperty(List<AbstractMetaData> metaDataProperty) |
AbstractGML |
setName(CodeType name)
Set the name, clears the name list
|
AbstractGML |
setName(List<CodeType> name)
Add feature names, clears the name list
|
public AbstractGML()
public AbstractGML(String identifier)
public AbstractGML(CodeWithAuthority identifier)
public AbstractGML(CodeWithAuthority identifier, String gmlId)
identifier - identifiergmlId - GML idpublic String getIdentifier()
public CodeWithAuthority getIdentifierCodeWithAuthority()
CodeWithAuthority identifier of this abstract featurepublic AbstractGML setIdentifier(CodeWithAuthority identifier)
identifier - the identifier to setpublic AbstractGML setIdentifier(String identifier)
identifier - the identifier to setpublic boolean isSetIdentifier()
true, if identifier is set and value is not an empty
string, else falsepublic String getHumanReadableIdentifier()
public CodeWithAuthority getHumanReadableIdentifierCodeWithAuthority()
CodeWithAuthority human readable identifier of this abstract
featurepublic AbstractGML setHumanReadableIdentifier(CodeWithAuthority humanReadableIdentifier)
humanReadableIdentifier - the human readable identifier to setpublic AbstractGML setHumanReadableIdentifier(String humanReadableIdentifier)
humanReadableIdentifier - the human readable identifier to setpublic boolean isSetHumanReadableIdentifier()
public AbstractGML setHumanReadableIdentifierAsIdentifier()
public boolean isSetOriginalIdentifier()
true, if the original identifier is setpublic String getOriginalIdentifier()
public CodeWithAuthority getOriginalIdentifierCodeWithAuthority()
CodeWithAuthority original identifier of this abstract
featurepublic AbstractGML setName(List<CodeType> name)
name - Feature names to adthispublic AbstractGML setName(CodeType name)
name - Name to setthispublic AbstractGML addName(CodeType name)
name - Name to addthispublic AbstractGML addName(String name)
name - Feature name to addthispublic AbstractGML addName(String name, URI codespace) throws URISyntaxException
name - Feature name to addcodespace - Codespace of the feature namethisURISyntaxException - if the code space is not a valid URIpublic boolean isSetName()
true if feature has namespublic CodeType getFirstName()
public String getDescription()
public AbstractGML setDescription(String description)
description - Feature description to setpublic boolean isSetDescription()
true if feature a descriptionpublic String getGmlId()
public void setGmlId(String gmlId)
gmlId - GML id to setpublic boolean isSetGmlID()
true if GML id is setpublic boolean isReferenced()
#.true if feature is still contained in XML documentpublic List<AbstractMetaData> getMetaDataProperty()
public void setMetaDataProperty(List<AbstractMetaData> metaDataProperty)
metaDataProperty - the metaDataProperty to setpublic void addMetaDataProperty(List<AbstractMetaData> metaDataProperty)
metaDataProperty - the metaDataProperty to addpublic void addMetaDataProperty(AbstractMetaData metaDataProperty)
metaDataProperty - the metaDataProperty to addpublic boolean isSetMetaDataProperty()
true, if metaData property is set, else
falsepublic void copyTo(AbstractGML copyOf)
AbstractGML to the committed
AbstractGMLcopyOf - AbstractGML to set valuesCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.