org.mockcentral.editor.nodes.root
Class RootNode

java.lang.Object
  extended by org.mockcentral.editor.nodes.MockCentralNode
      extended by org.mockcentral.editor.nodes.root.RootNode
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class RootNode
extends MockCentralNode

A MockCentralNode class that serves as the parent of the FixtureGroupNode for the model.

Author:
David Hutchinson

Field Summary
 
Fields inherited from class org.mockcentral.editor.nodes.MockCentralNode
children, deleted, element, nodeDescription, nodeModel, nodeProblemManager, nodeView, parentNode
 
Constructor Summary
RootNode(org.jdom.Document document)
          Creates the FixtureGroupNode for the model.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 void createNodeDescription()
          Creates the node description value.
 org.jdom.Document getDocument()
          Returns the JDOM Document created from the configuration file contents.
 FixtureGroupNode getFixtureGroupNode()
          Returns the FixtureGroupNode instance.
 MockCentralNodeType getMockCentralNodeType()
          Returns the MockCentralNodeType value identifying the type for this node.
 
Methods inherited from class org.mockcentral.editor.nodes.MockCentralNode
activateChildNode, getChildNodeOfName, getChildren, getElement, getNodeDescription, getNodeModel, getNodeProblemManager, getNodeView, getParentNode, getPath, initializeComponents, isDeleted, setDeleted, setElement, setParentNode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootNode

public RootNode(org.jdom.Document document)
Creates the FixtureGroupNode for the model.

Parameters:
document - the JDOM Document.
Method Detail

getDocument

public org.jdom.Document getDocument()
Returns the JDOM Document created from the configuration file contents.

Returns:
the JDOM Document created from the configuration file contents.

getFixtureGroupNode

public FixtureGroupNode getFixtureGroupNode()
Returns the FixtureGroupNode instance.

Returns:
the FixtureGroupNode instance.

getMockCentralNodeType

public MockCentralNodeType getMockCentralNodeType()
Description copied from class: MockCentralNode
Returns the MockCentralNodeType value identifying the type for this node.

Specified by:
getMockCentralNodeType in class MockCentralNode
Returns:
the MockCentralNodeType value identifying the type for this node.

createNodeDescription

public void createNodeDescription()
Description copied from class: MockCentralNode
Creates the node description value.

Specified by:
createNodeDescription in class MockCentralNode

compareTo

public int compareTo(java.lang.Object o)