|
||||||||||
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.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 ModelNode
public ModelNode getParent()
getParent
in interface ModelNode
public ModelVisitable getVisitable()
getVisitable
in interface ModelNode
public String getLabel()
getLabel
in interface ModelNode
public Transition getLink()
getLink
in interface ModelNode
public ModelFillStatus getModelFillStatus()
getModelFillStatus
in interface ModelNode
public Serializable getAdditionalInfo()
getAdditionalInfo
in interface ModelNode
public void setAdditionalInfo(Serializable newInfo)
setAdditionalInfo
in interface ModelNode
newInfo
- the new application-specific information.public NodeCompletionStatus getNodeCompletionStatus()
getNodeCompletionStatus
in interface ModelNode
public void setNodeCompletionStatus(NodeCompletionStatus newStatus)
newStatus
- NodeCompletionStatusNodeCompletionStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |