|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openehr.rm.RMObject
org.openehr.rm.datatypes.basic.DataValue
org.openehr.rm.datatypes.text.CodePhrase
public final class CodePhrase
A fully coordinated (all coordination has been performed) term from a terminologyID service (as distinct from a particular terminologyID). Instances of this class are immutable.
| Constructor Summary | |
|---|---|
CodePhrase(java.lang.String terminologyID,
java.lang.String codeString)
Constructs a CodePhrase by terminologyID and codeString |
|
CodePhrase(TerminologyID terminologyID,
java.lang.String codeString)
Constructs a CodePhrase by terminologyID and codeString |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Two CodePhrases equal if both has same value for terminologyID and codeString |
java.lang.String |
getCodeString()
The key used by the terminologyID service to identify a concept or coordination of concepts. |
TerminologyID |
getTerminologyID()
Identifier of the distinct terminologyID from which the code_string (or its elements) was extracted. |
int |
hashCode()
Return a hash code of this CodePhrase |
java.lang.String |
toString()
string form displayable for humans |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CodePhrase(TerminologyID terminologyID,
java.lang.String codeString)
terminologyID - codeString -
java.lang.IllegalArgumentException - if terminolgy null
or codeString null or empty
public CodePhrase(java.lang.String terminologyID,
java.lang.String codeString)
terminologyID - codeString -
java.lang.IllegalArgumentException - if terminolgy null
or codeString null or empty| Method Detail |
|---|
public java.lang.String toString()
toString in class DataValueStringpublic TerminologyID getTerminologyID()
TerminologyIDpublic java.lang.String getCodeString()
Stringpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||