Package hec.model
Class WarningTreeNode
java.lang.Object
hec.model.WarningTreeNode
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNode
(WarningTreeNode wtn) Adds a new node to the child node list.clone()
static WarningTreeNode
generateNewValidNode
(String name) getName()
boolean
isValid()
void
printout()
void
void
setMessage
(String msg) void
void
setValid()
void
setValidBits
(BitSet bs)
-
Constructor Details
-
WarningTreeNode
public WarningTreeNode()
-
-
Method Details
-
clone
- Overrides:
clone
in 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
-