DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.adn
Class DleseStandardsNode

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.adn.DleseStandardsNode
All Implemented Interfaces:
StandardsNode

public class DleseStandardsNode
extends Object
implements StandardsNode

Node in a hierarchical structure of content standards, determined by the colon-separated reperesentation of individual standards.

Author:
ostwald


Constructor Summary
DleseStandardsNode(String name, DleseStandardsNode parent, String id)
          Constructor for the DleseStandardsNode object given a ResultDoc instance
 
Method Summary
 void addSubNode(StandardsNode node)
          Adds a feature to the SubNode attribute of the DleseStandardsNode object
 List getAncestors()
          Gets the ancestors attribute of the DleseStandardsNode object
 DleseStandardsNode getChild(String name)
          Gets the child attribute of the DleseStandardsNode object
 String getDefinition()
          Gets the definition attribute of the DleseStandardsNode object
 String getFullText()
          Gets the fullText attribute of the DleseStandardsNode object
 String getGradeRange()
          GradeRange for this standard (the first field of the ":"-delimited id)
 boolean getHasSubList()
          Gets the hasSubList attribute of the DleseStandardsNode object
 String getId()
          Gets the id attribute of the DleseStandardsNode object
 boolean getIsLastInSubList()
          Gets the isLastInSubList attribute of the DleseStandardsNode object
 boolean getIsLeafNode()
          Gets the isLeafNode attribute of the DleseStandardsNode object
 String getLabel()
          Returns name attribute - used for label/value objects in jsp.
 int getLevel()
          Gets the level attribute of the DleseStandardsNode object
 String getMatchKey()
          Gets the matchKey attribute of the DleseStandardsNode object
 String getName()
          Gets the name attribute of the DleseStandardsNode object
 boolean getNoDisplay()
          Gets the noDisplay attribute of the DleseStandardsNode object
 DleseStandardsNode getParent()
          Gets the parent attribute of the DleseStandardsNode object
 List getSubList()
          Gets the subList attribute of the DleseStandardsNode object
 String getValue()
          Returns fullText attribute - used for label/value objects in jsp
 boolean getWrap()
          Gets the wrap attribute of the DleseStandardsNode object
 boolean hasChild(String name)
          NOT YET DOCUMENTED
 boolean isLastInSubList()
          Gets the lastInSubList attribute of the DleseStandardsNode object
protected  void prtln(String s)
          Description of the Method
 void setFullText(String s)
          Sets the fullText attribute of the DleseStandardsNode object
 void setIsLastInSubList(boolean isLast)
          Sets the isLastInSubList attribute of the DleseStandardsNode object
 void setLevel(int level)
          Sets the level attribute of the DleseStandardsNode object
 void setName(String name)
          Sets the name attribute of the DleseStandardsNode object
 void setSubList(List list)
          Sets the subList attribute of the DleseStandardsNode object
 String toString()
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DleseStandardsNode

public DleseStandardsNode(String name,
                          DleseStandardsNode parent,
                          String id)
Constructor for the DleseStandardsNode object given a ResultDoc instance

Parameters:
name - NOT YET DOCUMENTED
parent - NOT YET DOCUMENTED
id - NOT YET DOCUMENTED
Method Detail

getMatchKey

public String getMatchKey()
Gets the matchKey attribute of the DleseStandardsNode object

Returns:
The matchKey value

getFullText

public String getFullText()
Gets the fullText attribute of the DleseStandardsNode object

Specified by:
getFullText in interface StandardsNode
Returns:
The fullText value

getValue

public String getValue()
Returns fullText attribute - used for label/value objects in jsp

Returns:
The value value

getId

public String getId()
Gets the id attribute of the DleseStandardsNode object

Specified by:
getId in interface StandardsNode
Returns:
The id value

getGradeRange

public String getGradeRange()
GradeRange for this standard (the first field of the ":"-delimited id)

Specified by:
getGradeRange in interface StandardsNode
Returns:
The gradeRange value

getParent

public DleseStandardsNode getParent()
Gets the parent attribute of the DleseStandardsNode object

Returns:
The parent value

getAncestors

public List getAncestors()
Gets the ancestors attribute of the DleseStandardsNode object

Specified by:
getAncestors in interface StandardsNode
Returns:
The ancestors value

setFullText

public void setFullText(String s)
Sets the fullText attribute of the DleseStandardsNode object

Parameters:
s - The new fullText value

isLastInSubList

public boolean isLastInSubList()
Gets the lastInSubList attribute of the DleseStandardsNode object

Specified by:
isLastInSubList in interface StandardsNode
Returns:
The lastInSubList value

getIsLastInSubList

public boolean getIsLastInSubList()
Gets the isLastInSubList attribute of the DleseStandardsNode object

Returns:
The isLastInSubList value

setIsLastInSubList

public void setIsLastInSubList(boolean isLast)
Sets the isLastInSubList attribute of the DleseStandardsNode object

Parameters:
isLast - The new isLastInSubList value

getName

public String getName()
Gets the name attribute of the DleseStandardsNode object

Returns:
The name value

getNoDisplay

public boolean getNoDisplay()
Gets the noDisplay attribute of the DleseStandardsNode object

Specified by:
getNoDisplay in interface StandardsNode
Returns:
The noDisplay value

hasChild

public boolean hasChild(String name)
NOT YET DOCUMENTED

Parameters:
name - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

getChild

public DleseStandardsNode getChild(String name)
Gets the child attribute of the DleseStandardsNode object

Specified by:
getChild in interface StandardsNode
Parameters:
name - NOT YET DOCUMENTED
Returns:
The child value

setName

public void setName(String name)
Sets the name attribute of the DleseStandardsNode object

Parameters:
name - The new name value

getLevel

public int getLevel()
Gets the level attribute of the DleseStandardsNode object

Specified by:
getLevel in interface StandardsNode
Returns:
The level value

setLevel

public void setLevel(int level)
Sets the level attribute of the DleseStandardsNode object

Parameters:
level - The new level value

getSubList

public List getSubList()
Gets the subList attribute of the DleseStandardsNode object

Specified by:
getSubList in interface StandardsNode
Returns:
The subList value

setSubList

public void setSubList(List list)
Sets the subList attribute of the DleseStandardsNode object

Parameters:
list - The new subList value

getHasSubList

public boolean getHasSubList()
Gets the hasSubList attribute of the DleseStandardsNode object

Specified by:
getHasSubList in interface StandardsNode
Returns:
The hasSubList value

getIsLeafNode

public boolean getIsLeafNode()
Gets the isLeafNode attribute of the DleseStandardsNode object

Specified by:
getIsLeafNode in interface StandardsNode
Returns:
The isLeafNode value

addSubNode

public void addSubNode(StandardsNode node)
Adds a feature to the SubNode attribute of the DleseStandardsNode object

Specified by:
addSubNode in interface StandardsNode
Parameters:
node - The feature to be added to the SubNode attribute

getDefinition

public String getDefinition()
Gets the definition attribute of the DleseStandardsNode object

Specified by:
getDefinition in interface StandardsNode
Returns:
The definition value

getWrap

public boolean getWrap()
Gets the wrap attribute of the DleseStandardsNode object

Specified by:
getWrap in interface StandardsNode
Returns:
The wrap value

getLabel

public String getLabel()
Returns name attribute - used for label/value objects in jsp.

Specified by:
getLabel in interface StandardsNode
Returns:
The label value

prtln

protected void prtln(String s)
Description of the Method

Parameters:
s - Description of the Parameter

toString

public String toString()
NOT YET DOCUMENTED

Overrides:
toString in class Object
Returns:
NOT YET DOCUMENTED

DLESE Tools
v1.6.0