public class CodeWithAuthority extends Object implements Comparable<CodeWithAuthority>, Serializable
Modifier and Type | Field and Description |
---|---|
private String |
codeSpace
code space
|
private static long |
serialVersionUID |
private String |
value
value/identifier
|
Constructor and Description |
---|
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() |
private static final long serialVersionUID
private String value
private String codeSpace
public CodeWithAuthority(String value)
value
- Value/identifierpublic 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 © 2012-2015 52north.org. All Rights Reserved.