|
||||||||||
| 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
org.openehr.rm.composition.content.ContentItem
org.openehr.rm.composition.content.navigation.Section
public final class Section
Represents a heading in a heading structure, or "section tree". Instances of this class are immutable.
| Field Summary |
|---|
| Fields inherited from class org.openehr.rm.composition.content.ContentItem |
|---|
PATH_SEPARATOR |
| Constructor Summary | |
|---|---|
Section(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links,
java.util.List<ContentItem> items)
Constructs a Section |
|
Section(java.lang.String archetypeNodeId,
DvText name,
java.util.List<ContentItem> items)
Constructs a Section |
|
| Method Summary | |
|---|---|
java.util.List<ContentItem> |
getItems()
Ordered list of content items under this section, which may include more Sections or Entries |
Locatable |
itemAtPath(java.lang.String path)
The item at a path that is relative to this item. |
java.lang.String |
pathOfItem(Locatable item)
String The path to an item relative to the root of this archetyped structure. |
boolean |
validPath(java.lang.String path)
Return true if the path is valid with respect to the current item. |
| Methods inherited from class org.openehr.rm.common.archetyped.Locatable |
|---|
concept, getArchetypeDetails, getArchetypeNodeId, getFeederAudit, getLinks, getName, getUid, isArchetypeRoot, setArchetypeDetails, setArchetypeNodeId, setFeederAudit, setLinks, setName, setUid, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Section(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links,
java.util.List<ContentItem> items)
uid - archetypeNodeId - name - archetypeDetails - feederAudit - links - items - null if not present
java.lang.IllegalArgumentException - if items not null and empty
public Section(java.lang.String archetypeNodeId,
DvText name,
java.util.List<ContentItem> items)
archetypeNodeId - name - items - | Method Detail |
|---|
public java.lang.String pathOfItem(Locatable item)
pathOfItem in class Locatableitem -
public Locatable itemAtPath(java.lang.String path)
itemAtPath in class Locatablepath -
public boolean validPath(java.lang.String path)
validPath in class Locatablepath -
public java.util.List<ContentItem> getItems()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||