|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.types.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 null
public 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 null| Method Detail |
|---|
public String getCode()
public String getCodeSpace()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||