public class CodeWithAuthority extends Object implements Comparable<CodeWithAuthority>
| Modifier | Constructor and Description |
|---|---|
protected |
CodeWithAuthority() |
|
CodeWithAuthority(String value)
constructor
|
|
CodeWithAuthority(String value,
String codeSpace)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CodeWithAuthority o) |
boolean |
equals(Object obj) |
String |
getCodeSpace()
Get code space
|
String |
getValue()
Get value
|
int |
hashCode() |
boolean |
isSetCodeSpace()
Check whether code space is set
|
boolean |
isSetValue()
Check whether value is set
|
CodeWithAuthority |
setCodeSpace(String codeSpace)
Set code space and return this CodeWithAuthority object
|
CodeWithAuthority |
setValue(String value)
Set value and return this CodeWithAuthority object
|
String |
toString() |
public CodeWithAuthority(String value)
value - Value/identifierpublic CodeWithAuthority(String value, String codeSpace)
value - Value/identifiercodeSpace - Code spaceprotected CodeWithAuthority()
public String getValue()
public String getCodeSpace()
public CodeWithAuthority setValue(String value)
value - Value to setpublic CodeWithAuthority setCodeSpace(String codeSpace)
codeSpace - Code space to setpublic boolean isSetValue()
true if value is setpublic boolean isSetCodeSpace()
true if code space is setpublic int compareTo(CodeWithAuthority o)
compareTo in interface Comparable<CodeWithAuthority>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.