public abstract class AbstractGML
extends java.lang.Object
| Constructor and Description |
|---|
AbstractGML() |
AbstractGML(CodeWithAuthority identifier) |
AbstractGML(CodeWithAuthority identifier,
java.lang.String gmlId)
constructor
|
AbstractGML(java.lang.String identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaDataProperty(AbstractMetaData metaDataProperty) |
void |
addMetaDataProperty(java.util.List<AbstractMetaData> metaDataProperty) |
AbstractGML |
addName(CodeType name)
Adds the name to the name list
|
AbstractGML |
addName(java.lang.String name)
Add a feature name
|
AbstractGML |
addName(java.lang.String name,
java.lang.String codespace)
Deprecated.
|
AbstractGML |
addName(java.lang.String name,
java.net.URI codespace) |
void |
copyTo(AbstractGML copyOf)
Copies values of this
AbstractGML to the committed
AbstractGML |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
Get feature description
|
CodeType |
getFirstName()
Get first feature name or null if feature has no names
|
java.lang.String |
getGmlId()
Get GML id
|
java.lang.String |
getHumanReadableIdentifier()
Get the string human readable identifier of this abstract feature
|
CodeWithAuthority |
getHumanReadableIdentifierCodeWithAuthority()
Get
CodeWithAuthority human readable identifier of this abstract
feature |
java.lang.String |
getIdentifier()
Get the string identifier of this abstract feature
|
CodeWithAuthority |
getIdentifierCodeWithAuthority()
Get
CodeWithAuthority identifier of this abstract feature |
java.util.List<AbstractMetaData> |
getMetaDataProperty() |
java.util.List<CodeType> |
getName()
Get feature names
|
java.lang.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(java.lang.String description)
Set feature description
|
void |
setGmlId(java.lang.String gmlId)
Set GML id
|
AbstractGML |
setHumanReadableIdentifier(CodeWithAuthority humanReadableIdentifier)
Set human readable identifier
|
AbstractGML |
setHumanReadableIdentifier(java.lang.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(java.lang.String identifier)
Set identifier
|
void |
setMetaDataProperty(java.util.List<AbstractMetaData> metaDataProperty) |
AbstractGML |
setName(CodeType name)
Set the name, clears the name list
|
AbstractGML |
setName(java.util.List<CodeType> name)
Add feature names, clears the name list
|
public AbstractGML()
public AbstractGML(java.lang.String identifier)
public AbstractGML(CodeWithAuthority identifier)
public AbstractGML(CodeWithAuthority identifier, java.lang.String gmlId)
identifier - identifiergmlId - GML idpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getIdentifier()
public CodeWithAuthority getIdentifierCodeWithAuthority()
CodeWithAuthority identifier of this abstract featurepublic AbstractGML setIdentifier(CodeWithAuthority identifier)
identifier - the identifier to setpublic AbstractGML setIdentifier(java.lang.String identifier)
identifier - the identifier to setpublic boolean isSetIdentifier()
true, if identifier is set and value is not an empty
string, else falsepublic java.lang.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(java.lang.String humanReadableIdentifier)
humanReadableIdentifier - the human readable identifier to setpublic boolean isSetHumanReadableIdentifier()
public AbstractGML setHumanReadableIdentifierAsIdentifier()
public boolean isSetOriginalIdentifier()
true, if the original identifier is setpublic java.lang.String getOriginalIdentifier()
public CodeWithAuthority getOriginalIdentifierCodeWithAuthority()
CodeWithAuthority original identifier of this abstract
featurepublic java.util.List<CodeType> getName()
public AbstractGML setName(java.util.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(java.lang.String name)
name - Feature name to addthis@Deprecated public AbstractGML addName(java.lang.String name, java.lang.String codespace) throws java.net.URISyntaxException
AbstractGMLaddName(String, URI)name - Feature name to addcodespace - Codespace of the feature namethisjava.net.URISyntaxException - if the code space is not a valid URIpublic AbstractGML addName(java.lang.String name, java.net.URI codespace) throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic boolean isSetName()
true if feature has namespublic CodeType getFirstName()
public java.lang.String getDescription()
public AbstractGML setDescription(java.lang.String description)
description - Feature description to setpublic boolean isSetDescription()
true if feature a descriptionpublic java.lang.String getGmlId()
public void setGmlId(java.lang.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 java.util.List<AbstractMetaData> getMetaDataProperty()
public void setMetaDataProperty(java.util.List<AbstractMetaData> metaDataProperty)
metaDataProperty - the metaDataProperty to setpublic void addMetaDataProperty(java.util.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–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.