|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.dbobj.model_tree.NodeCompletionStatus
public final class NodeCompletionStatus
Object represents a recursive/truncation/completion status inside the model. If it is recursive you construt a ModelTruncationStatus() object pointing to the recursive node. Otherwise you use either COMPLETE_NODE or TRUNCATED_NODE to set the completion status.
Field Summary | |
---|---|
static NodeCompletionStatus |
COMPLETE_NODE
Instance representing a complete node. |
static NodeCompletionStatus |
TRUNCATED_NODE
Instance representing a truncated node. |
static NodeCompletionStatus |
UNDEFINED_STATUS
Instance representing an undefined status. |
Constructor Summary | |
---|---|
NodeCompletionStatus(ModelNode recursiveModelNode)
Constructs a recursive model status node. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Model Recursion status objects are equal if they are the same status type and if they are, they point to the same recursive node. |
ModelNode |
getRecursiveNode()
Retrieves the recursive node that is located elsewhere inside the model tree. |
int |
hashCode()
|
boolean |
isRecursive()
Returns true if this is a recursive node. |
boolean |
isTruncated()
Returns true if this is a truncated node. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final NodeCompletionStatus COMPLETE_NODE
public static final NodeCompletionStatus TRUNCATED_NODE
public static final NodeCompletionStatus UNDEFINED_STATUS
DefaultModelFactory
only Emo 'Nodes' have the concept of
truncation -- actual parts of a node are never truncated
Constructor Detail |
---|
public NodeCompletionStatus(ModelNode recursiveModelNode)
recursiveModelNode
- ModelNodeMethod Detail |
---|
public ModelNode getRecursiveNode()
public boolean isRecursive()
public boolean isTruncated()
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |