|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.standards.asn.AsnStandardsNode
public class AsnStandardsNode
Wraps an AsnStandard object and implements the StandardsNode interface.
AsnStandard
Constructor Summary | |
---|---|
AsnStandardsNode(AsnStandard std,
AsnStandardsNode parent)
Constructor for the AsnStandardsNode object given an AsnStandard instance and the parent Node. |
Method Summary | |
---|---|
void |
addSubNode(StandardsNode node)
Adds a childNodet to the AsnStandardsNode |
List |
getAncestors()
Gets the ancestors attribute of the AsnStandardsNode object |
AsnStandard |
getAsnStandard()
Gets the asnStandard attribute of the AsnStandardsNode object |
AsnStandardsNode |
getChild(String id)
Gets the child attribute of the AsnStandardsNode object |
String |
getDefinition()
Returns null (here only to satisfy the interface) |
String |
getDocId()
Gets the docId attribute of the AsnStandardsNode object |
String |
getFullText()
Gets the concatenated text of this standard and its ancestors, prepended with a gradeRange indicator |
String |
getGradeRange()
Gets the gradeRange attribute of the AsnStandardsNode object |
boolean |
getHasSubList()
Gets the hasSubList attribute of the AsnStandardsNode object |
String |
getId()
Gets the id attribute of the StandardsNode object |
boolean |
getIsLastInSubList()
Gets the isLastInSubList attribute of the AsnStandardsNode object |
boolean |
getIsLeafNode()
Gets the isLeafNode attribute of the AsnStandardsNode object |
String |
getItemText()
The text of the standard as defined by ASN source document. |
String |
getLabel()
Gets node's itemText with a gradeRange attached to leaf nodes. |
int |
getLevel()
Gets the level attribute of the AsnStandardsNode object |
List |
getLineage()
Gets a list containing the text of this node and it's ancestors |
boolean |
getNoDisplay()
Gets the noDisplay attribute of the StandardsNode object |
AsnStandardsNode |
getParent()
Gets the parent attribute of the AsnStandardsNode object |
List |
getSubList()
Gets a list of AsnStandardsNode that have this node as a parent. |
boolean |
getWrap()
Gets the wrap attribute of the StandardsNode object |
boolean |
hasChild(String id)
Gets the specified child of this Node |
boolean |
isLastInSubList()
Returns true if this StandardsNode is the last of its siblings |
protected void |
prtln(String s)
Description of the Method |
void |
showLineage()
Description of the Method |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AsnStandardsNode(AsnStandard std, AsnStandardsNode parent)
std
- an asnStandardparent
- this node's parent in the standard treeMethod Detail |
---|
public AsnStandard getAsnStandard()
public String getGradeRange()
getGradeRange
in interface StandardsNode
public String getId()
getId
in interface StandardsNode
public String getDocId()
public AsnStandardsNode getParent()
public List getAncestors()
getAncestors
in interface StandardsNode
public boolean isLastInSubList()
isLastInSubList
in interface StandardsNode
public boolean getIsLastInSubList()
public boolean getNoDisplay()
getNoDisplay
in interface StandardsNode
public AsnStandardsNode getChild(String id)
getChild
in interface StandardsNode
id
- asnId
public boolean hasChild(String id)
id
- NOT YET DOCUMENTED
public int getLevel()
getLevel
in interface StandardsNode
public List getSubList()
getSubList
in interface StandardsNode
public boolean getHasSubList()
getHasSubList
in interface StandardsNode
public boolean getIsLeafNode()
getIsLeafNode
in interface StandardsNode
public void addSubNode(StandardsNode node)
addSubNode
in interface StandardsNode
node
- The feature to be added to the SubNode attributepublic String getDefinition()
getDefinition
in interface StandardsNode
public boolean getWrap()
getWrap
in interface StandardsNode
public String getLabel()
getLabel
in interface StandardsNode
public String getItemText()
public String getFullText()
getFullText
in interface StandardsNode
public List getLineage()
public void showLineage()
protected void prtln(String s)
s
- Description of the Parameterpublic String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |