public abstract class AbstractGML extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
description
Feature description
|
private String |
gmlId
GML id
|
private CodeWithAuthority |
humanReadableIdentifier |
private CodeWithAuthority |
identifier
Feature identifier
|
private List<CodeType> |
names
List of feature names
|
private CodeWithAuthority |
originalIdentifier |
private static long |
serialVersionUID |
Constructor and Description |
---|
AbstractGML()
constructor
|
AbstractGML(CodeWithAuthority identifier)
constructor
|
AbstractGML(CodeWithAuthority identifier,
String gmlId)
constructor
|
AbstractGML(String identifier)
constructor
|
Modifier and Type | Method and Description |
---|---|
AbstractGML |
addName(CodeType name) |
AbstractGML |
addName(String name)
Add a feature name
|
AbstractGML |
addName(String name,
String codespace)
Add a feature name
|
void |
copyTo(AbstractGML copyOf) |
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<CodeType> |
getName()
Get feature names
|
int |
hashCode() |
boolean |
isReferenced()
Check whether feature is still contained in XML document by sign
Constants.NUMBER_SIGN_STRING . |
boolean |
isSetDescription()
Check whether feature has a description
|
boolean |
isSetGmlID()
Check whether GML id is set
|
boolean |
isSetHumanReadableIdentifier() |
boolean |
isSetIdentifier() |
boolean |
isSetName()
Check whether feature has a names
|
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() |
AbstractGML |
setIdentifier(CodeWithAuthority identifier)
Set identifier
|
AbstractGML |
setIdentifier(String identifier)
Set identifier
|
AbstractGML |
setName(CodeType name) |
AbstractGML |
setName(List<CodeType> name)
Add feature names
|
private static final long serialVersionUID
private CodeWithAuthority identifier
private CodeWithAuthority humanReadableIdentifier
private CodeWithAuthority originalIdentifier
private String description
private String gmlId
public AbstractGML()
public AbstractGML(String identifier)
public AbstractGML(CodeWithAuthority identifier)
identifier
- identifierpublic 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()
public String getHumanReadableIdentifier()
public CodeWithAuthority getHumanReadableIdentifierCodeWithAuthority()
CodeWithAuthority
human readable identifier of this abstract featurepublic AbstractGML setHumanReadableIdentifier(CodeWithAuthority humanReadableIdentifier)
identifier
- the human readable identifier to setpublic AbstractGML setHumanReadableIdentifier(String humanReadableIdentifier)
identifier
- the human readable identifier to setpublic boolean isSetHumanReadableIdentifier()
public AbstractGML setHumanReadableIdentifierAsIdentifier()
public AbstractGML setName(List<CodeType> name)
name
- Feature names to adpublic AbstractGML setName(CodeType name)
public AbstractGML addName(CodeType name)
name
- public AbstractGML addName(String name)
name
- Feature name to addpublic AbstractGML addName(String name, String codespace)
name
- Feature name to addcodespace
- Codespace of the feature namepublic 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()
Constants.NUMBER_SIGN_STRING
.true
if feature is still contained in XML documentpublic void copyTo(AbstractGML copyOf)
Copyright © 2012-2015 52north.org. All Rights Reserved.