org.mockcentral.editor.nodes.fixture_group
Class FixtureGroupNode

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

public class FixtureGroupNode
extends MockCentralNode

A MockCentralNode class representing the list of Fixtures defined in a configuration file.

Author:
David Hutchinson

Field Summary
 
Fields inherited from class org.mockcentral.editor.nodes.MockCentralNode
children, deleted, element, nodeDescription, nodeModel, nodeProblemManager, nodeView, parentNode
 
Constructor Summary
FixtureGroupNode(org.jdom.Document document)
          Constructs a new instance using the data in the supplied JDOM Document.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 void createNodeDescription()
          Creates the node description value.
 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

FixtureGroupNode

public FixtureGroupNode(org.jdom.Document document)
Constructs a new instance using the data in the supplied JDOM Document. Child nodes are created for each fixture Element defined in the document, initializing the process to build the entire tree of MockCentralNode objects.

Parameters:
document - the JDOM Document.
Method Detail

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)