|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.dbobj.model_tree.NoParentNode
class NoParentNode
Special Case instance for no parents in a model. Access through
the Model interface instead of directly.
| Field Summary |
|---|
| Fields inherited from interface com.sri.emo.dbobj.model_tree.ModelNode |
|---|
NO_CHILDREN, NO_LINK, NO_PARENT |
| Constructor Summary | |
|---|---|
NoParentNode()
Default constructor |
|
| Method Summary | |
|---|---|
Serializable |
getAdditionalInfo()
Does nothing. |
List |
getChildren()
Throws UnsupportedOperationException - not implemented for obvious reasons. |
String |
getLabel()
Retrieve the label assigned to the node. |
Transition |
getLink()
Retrieve the link to get to the node for editing. |
ModelFillStatus |
getModelFillStatus()
Default implementation of fill status. |
NodeCompletionStatus |
getNodeCompletionStatus()
Returns a node completion status which represents whether the factory was able to build a non-recursive complete model for the given node in question or |
ModelNode |
getParent()
Throws UnsupportedOperationException - not implemented for obvious reasons. |
ModelVisitable |
getVisitable()
Throws UnsupportedOperationException - not implemented for obvious reasons. |
void |
setAdditionalInfo(Serializable newInfo)
Sets the additional tag information to be associated with this node. |
void |
setNodeCompletionStatus(NodeCompletionStatus newStatus)
Sets the node completion status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoParentNode()
| Method Detail |
|---|
public List getChildren()
getChildren in interface ModelNodepublic ModelNode getParent()
getParent in interface ModelNodepublic ModelVisitable getVisitable()
getVisitable in interface ModelNodepublic String getLabel()
getLabel in interface ModelNodepublic Transition getLink()
getLink in interface ModelNodepublic ModelFillStatus getModelFillStatus()
getModelFillStatus in interface ModelNodepublic Serializable getAdditionalInfo()
getAdditionalInfo in interface ModelNodepublic void setAdditionalInfo(Serializable newInfo)
setAdditionalInfo in interface ModelNodenewInfo - the new application-specific information.public NodeCompletionStatus getNodeCompletionStatus()
getNodeCompletionStatus in interface ModelNodepublic void setNodeCompletionStatus(NodeCompletionStatus newStatus)
newStatus - NodeCompletionStatusNodeCompletionStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||