|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.MockCentralNode
org.mockcentral.editor.nodes.mockobject.MockObjectNode
public class MockObjectNode
A MockCentralNode class representing a Mock Object, reflected
in a JDOM Element with the name "mockObjectSetup".
| Field Summary |
|---|
| Fields inherited from class org.mockcentral.editor.nodes.MockCentralNode |
|---|
children, deleted, element, nodeDescription, nodeModel, nodeProblemManager, nodeView, parentNode |
| Constructor Summary | |
|---|---|
MockObjectNode()
Creates a new instance, assigning a new MockObjectModel to
the inherited nodeModel field. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
Compares this node to another by comparing the Mock Object name values. |
void |
createNodeDescription()
Creates a description for this node. |
MockCentralNodeType |
getMockCentralNodeType()
Returns the MockCentralNodeType value identifying the type
for this node. |
void |
setElement(org.jdom.Element element)
Sets the jdom Element represented by this node, invokes the
createNodeDescription method to create the
toString value and iterates through the content of the
Element to create the list of child nodes. |
| Methods inherited from class org.mockcentral.editor.nodes.MockCentralNode |
|---|
activateChildNode, getChildNodeOfName, getChildren, getElement, getNodeDescription, getNodeModel, getNodeProblemManager, getNodeView, getParentNode, getPath, initializeComponents, isDeleted, setDeleted, setParentNode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MockObjectNode()
MockObjectModel to
the inherited nodeModel field.
| Method Detail |
|---|
public void setElement(org.jdom.Element element)
MockCentralNodeElement represented by this node, invokes the
createNodeDescription method to create the
toString value and iterates through the content of the
Element to create the list of child nodes.
setElement in class MockCentralNodeelement - the jdom element represented by this node.public MockCentralNodeType getMockCentralNodeType()
MockCentralNodeMockCentralNodeType value identifying the type
for this node.
getMockCentralNodeType in class MockCentralNodeMockCentralNodeType value identifying the type
for this node.public int compareTo(java.lang.Object o)
o - the Object for comparison.
public void createNodeDescription()
createNodeDescription in class MockCentralNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||