org.gusdb.wdk.model.jspwrap
Class BooleanQuestionNodeBean
java.lang.Object
org.gusdb.wdk.model.jspwrap.BooleanQuestionNodeBean
public class BooleanQuestionNodeBean
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INTERNAL_AND
public static final java.lang.String INTERNAL_AND
- See Also:
- Constant Field Values
INTERNAL_OR
public static final java.lang.String INTERNAL_OR
- See Also:
- Constant Field Values
INTERNAL_NOT
public static final java.lang.String INTERNAL_NOT
- See Also:
- Constant Field Values
BooleanQuestionNodeBean
public BooleanQuestionNodeBean(BooleanQuestionNode bqn,
java.lang.Object firstChild,
java.lang.Object secondChild,
BooleanQuestionNodeBean parent)
getFirstChild
public java.lang.Object getFirstChild()
getSecondChild
public java.lang.Object getSecondChild()
makeAnswer
public AnswerBean makeAnswer(int start,
int end)
throws WdkModelException,
WdkUserException
- Can be called from any level
- Parameters:
start - end -
- Returns:
-
- Throws:
WdkModelException
WdkUserException
getOperation
public java.lang.String getOperation()
findLeaf
public BooleanQuestionLeafBean findLeaf(int leafId)
getAllNodes
public java.util.Vector getAllNodes(java.util.Vector nodesSoFar)
setValues
public void setValues(java.util.Hashtable values)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object