|
||||||||||
| 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.common.archetyped.Link
public final class Link
The Link type defines a logical relationship between two items, such as two ENTRYs or an ENTRY and a COMPOSITION. Links can be used across compositions, and across EHRs. Links can potentially be used between interior (ie non archetype root) nodes, although this probably should be prevented in archetypes. Multiple LINKs can be attached to the root object of any archetyped structure to give the effect of a 1->N link. Instances of this class are immutable
| Constructor Summary | |
|---|---|
Link(DvText meaning,
DvText type,
DvEHRURI target)
Constructs a Link by meaning, type and target |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Two links equal if both have same values for meaning, type and target |
DvText |
getMeaning()
Used to describe the relationship, usually in clinical terms, such as in response to (the relationship between test results and an order), follow-up to and so on. |
DvEHRURI |
getTarget()
the logical "to" object in the link relation, as per the linguistic sense of the meaning attribute. |
DvText |
getType()
The type attribute is used to indicate a clinical or domain-level meaning for the kind of link, for example "problem" or "issue". |
int |
hashCode()
Return a hash code of this link |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Link(DvText meaning,
DvText type,
DvEHRURI target)
meaning - not nulltype - not nulltarget - not null
java.lang.IllegalArgumentException - if any null argument| Method Detail |
|---|
public DvText getMeaning()
public DvText getType()
public DvEHRURI getTarget()
public 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 | |||||||||