|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.tom.ows.CodeType
public class CodeType
Name or code with an (optional) authority. If the codeSpace attribute is present, its value shall reference a dictionary, thesaurus, or authority for the name or code, such as the organisation who assigned the value, or the dictionary from which it is taken.
Constructor Summary | |
---|---|
CodeType(String code)
Returns a new CodeType instance without authority. |
|
CodeType(String code,
String codeSpace)
Returns a new CodeType instance with optional authority. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getCode()
Returns the code value. |
String |
getCodeSpace()
Returns the authority of the code. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CodeType(String code) throws InvalidParameterValueException
CodeType
instance without authority.
code
- code value, not null
InvalidParameterValueException
- if code is nullpublic CodeType(String code, String codeSpace) throws InvalidParameterValueException
CodeType
instance with optional authority.
code
- code value, not nullcodeSpace
- authority, may be null
InvalidParameterValueException
- if code is nullMethod Detail |
---|
public String getCode()
public String getCodeSpace()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |