|
||||||||||
| 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.Locatable
public abstract class Locatable
Root structural class of all information models. Instances of this class are immutalbe.
| Constructor Summary | |
|---|---|
protected |
Locatable()
|
protected |
Locatable(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links)
Constructs a Locatable |
protected |
Locatable(java.lang.String archetypeNodeId,
DvText name)
Constructs a Locatable node by archetypeNodeId and name same as name |
| Method Summary | |
|---|---|
DvText |
concept()
Clinical concept of the archetype as a whole, derived from the archetypeNodeId of the root node |
Archetyped |
getArchetypeDetails()
Details of archetyping used on this node. |
java.lang.String |
getArchetypeNodeId()
Design-time archetype id of this node taken from its generating archetype; used to build archetype paths. |
FeederAudit |
getFeederAudit()
Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node. |
java.util.Set<Link> |
getLinks()
Links to other archetyped structures (data whose root object inherits from ARCHETYPED, such as ENTRY, SECTION and so on). |
DvText |
getName()
Runtime name of this fragment, used to build runtime paths. |
ObjectID |
getUid()
Optional globally unique object identifier for root object of archetyped data structure. |
boolean |
isArchetypeRoot()
True if this node is the root of an archetyped structure |
abstract Locatable |
itemAtPath(java.lang.String path)
The item at a path that is relative to this item. |
abstract java.lang.String |
pathOfItem(Locatable item)
String The path to an item relative to the root of this archetyped structure. |
protected void |
setArchetypeDetails(Archetyped archetypeDetails)
|
protected void |
setArchetypeNodeId(java.lang.String archetypeNodeId)
|
protected void |
setFeederAudit(FeederAudit feederAudit)
|
protected void |
setLinks(java.util.Set<Link> links)
|
protected void |
setName(DvText name)
|
protected void |
setUid(ObjectID uid)
|
java.lang.String |
toString()
Return sting presentation of this locatable |
abstract boolean |
validPath(java.lang.String path)
Return true if the path is valid with respect to the current item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Locatable(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links)
uid - null if not specifiedarchetypeNodeId - not nullname - not nullarchetypeDetails - null if not specifiedfeederAudit - null if not specifiedlinks - null if not specified
java.lang.IllegalArgumentException - if name null or archetypeNodeId null
or links not null and empty
protected Locatable(java.lang.String archetypeNodeId,
DvText name)
archetypeNodeId - name -
java.lang.IllegalArgumentException - if archetypeNodeId or name nullprotected Locatable()
| Method Detail |
|---|
public ObjectID getUid()
public java.lang.String getArchetypeNodeId()
public DvText getName()
public Archetyped getArchetypeDetails()
public FeederAudit getFeederAudit()
public java.util.Set<Link> getLinks()
public boolean isArchetypeRoot()
public abstract java.lang.String pathOfItem(Locatable item)
item -
public abstract Locatable itemAtPath(java.lang.String path)
path -
public abstract boolean validPath(java.lang.String path)
path -
public DvText concept()
java.lang.UnsupportedOperationException - if this node is not rootpublic java.lang.String toString()
toString in class java.lang.Objectprotected void setUid(ObjectID uid)
protected void setArchetypeNodeId(java.lang.String archetypeNodeId)
protected void setName(DvText name)
protected void setArchetypeDetails(Archetyped archetypeDetails)
protected void setFeederAudit(FeederAudit feederAudit)
protected void setLinks(java.util.Set<Link> links)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||