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