|
||||||||||
| 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.support.identification.ObjectID
public abstract class ObjectID
Ancestor class of identifiers of informational objects. Ids may be completely meaningless, in which case their only job is to refer to something, or may carry some information to do with the identified object.
| Constructor Summary | |
|---|---|
protected |
ObjectID()
|
|
ObjectID(java.lang.String value)
Create objectID by string value |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Return true if both have same value and |
java.lang.String |
getValue()
The value of this objectID |
int |
hashCode()
Return a hash code value of this objectID |
java.lang.String |
toString()
Return value as string presentation of this objectID |
abstract java.lang.String |
versionID()
Return version of information pointed to by this ID, if versioning is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectID(java.lang.String value)
value -
java.lang.IllegalArgumentException - if value is emptyprotected ObjectID()
| Method Detail |
|---|
public java.lang.String getValue()
public abstract java.lang.String versionID()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object to which this object is to be compared
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||