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