public class Identifier extends CodeWithAuthority
| Constructor and Description |
|---|
Identifier() |
Identifier(CodeWithAuthority codeWithAuthority) |
Identifier(java.lang.String localId,
java.lang.String namespace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLocalId()
Get localId
|
java.lang.String |
getNamespace()
Get namespace
|
Nillable<java.lang.String> |
getVersionId() |
int |
hashCode() |
boolean |
isSetLocalId()
Check whether localId is set
|
boolean |
isSetNamespace()
Check whether namespace is set
|
Identifier |
setLocalId(java.lang.String localId)
Set localId and return this Identifier object
|
Identifier |
setNamespace(java.lang.String namespace)
Set namespace and return this Identifier object
|
Identifier |
setVersionId(Nillable<java.lang.String> versionId) |
void |
setVersionId(java.lang.String versionId) |
java.lang.String |
toString() |
compareTo, getCodeSpace, getValue, isSetCodeSpace, isSetValue, setCodeSpace, setValuepublic Identifier(java.lang.String localId,
java.lang.String namespace)
localId - the localIDnamespace - the namespacepublic Identifier(CodeWithAuthority codeWithAuthority)
public Identifier()
public java.lang.String getLocalId()
public java.lang.String getNamespace()
public Identifier setLocalId(java.lang.String localId)
localId - LocalId to setpublic Identifier setNamespace(java.lang.String namespace)
namespace - Code space to setpublic boolean isSetLocalId()
true if localId is setpublic boolean isSetNamespace()
true if namespace is setpublic Nillable<java.lang.String> getVersionId()
public void setVersionId(java.lang.String versionId)
public Identifier setVersionId(Nillable<java.lang.String> versionId)
public int hashCode()
hashCode in class CodeWithAuthoritypublic boolean equals(java.lang.Object obj)
equals in class CodeWithAuthoritypublic java.lang.String toString()
toString in class CodeWithAuthorityCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.