Package hec.model
Class WarningTreeNode
java.lang.Object
hec.model.WarningTreeNode
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNode(WarningTreeNode wtn) Adds a new node to the child node list.clone()static WarningTreeNodegenerateNewValidNode(String name) getName()booleanisValid()voidprintout()voidvoidsetMessage(String msg) voidvoidsetValid()voidsetValidBits(BitSet bs)
-
Constructor Details
-
WarningTreeNode
public WarningTreeNode()
-
-
Method Details
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
setName
-
setMessage
-
getName
-
getMessage
-
addNode
Adds a new node to the child node list. Checks to see if the new child is invalid. If it is invalid then the parent sets himself invalid. A parent can only have valid data iff all of his children have valid data -
isValid
public boolean isValid() -
setValidBits
-
setValid
public void setValid() -
setInValid
public void setInValid() -
printout
public void printout() -
generateNewValidNode
-