org.mockcentral.editor.nodes.fixture
Class FixtureDataBean

java.lang.Object
  extended by org.mockcentral.editor.nodes.fixture.FixtureDataBean

public class FixtureDataBean
extends java.lang.Object

Bean class used to store and retrieve data used to construct the JDOM Element for a FixtureNode.


Constructor Summary
FixtureDataBean()
           
 
Method Summary
 java.lang.String getFixtureDescription()
          Returns the fixture description.
 java.lang.String getFixtureName()
          Returns the fixture name.
 java.util.List<MockCentralNode> getImportedFixtures()
          Returns the list of imported fixtures.
 boolean isOpenMockObjectGroupPage()
          Returns whether the editor should open the mock object group page after an edit.
 boolean isOpenMockObjectGroupPageAfterPaste()
          Returns whether the editor should open the mock object group page after a paste operation.
 void setFixtureDescription(java.lang.String fixtureDescription)
          Sets the fixture description.
 void setFixtureName(java.lang.String fixtureName)
          Sets the fixture name.
 void setImportedFixtures(java.util.List<MockCentralNode> importedFixtures)
          Sets the list of imported fixtures.
 void setOpenMockObjectGroupPage(boolean openMockObjectGroupPage)
          Sets whether the editor should open the mock object group page after an edit.
 void setOpenMockObjectGroupPageAfterPaste(boolean openMockObjectGroupPageAfterPaste)
          Sets whether the editor should open the mock object group page after a paste operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixtureDataBean

public FixtureDataBean()
Method Detail

getFixtureName

public java.lang.String getFixtureName()
Returns the fixture name.

Returns:
the fixture name.

setFixtureName

public void setFixtureName(java.lang.String fixtureName)
Sets the fixture name.

Parameters:
fixtureName - the fixture name to set.

getFixtureDescription

public java.lang.String getFixtureDescription()
Returns the fixture description.

Returns:
the fixture description.

setFixtureDescription

public void setFixtureDescription(java.lang.String fixtureDescription)
Sets the fixture description.

Parameters:
fixtureDescription - the fixture description to set.

getImportedFixtures

public java.util.List<MockCentralNode> getImportedFixtures()
Returns the list of imported fixtures.

Returns:
the list of imported fixtures.

setImportedFixtures

public void setImportedFixtures(java.util.List<MockCentralNode> importedFixtures)
Sets the list of imported fixtures.

Parameters:
importedFixtures - list of imported fixtures to set.

isOpenMockObjectGroupPage

public boolean isOpenMockObjectGroupPage()
Returns whether the editor should open the mock object group page after an edit.

Returns:
whether the editor should open the mock object group page after an edit.

setOpenMockObjectGroupPage

public void setOpenMockObjectGroupPage(boolean openMockObjectGroupPage)
Sets whether the editor should open the mock object group page after an edit.

Parameters:
openMockObjectGroupPage - whether the editor should open the mock object group page after an edit.

isOpenMockObjectGroupPageAfterPaste

public boolean isOpenMockObjectGroupPageAfterPaste()
Returns whether the editor should open the mock object group page after a paste operation.

Returns:
whether the editor should open the mock object group page after a paste operation.

setOpenMockObjectGroupPageAfterPaste

public void setOpenMockObjectGroupPageAfterPaste(boolean openMockObjectGroupPageAfterPaste)
Sets whether the editor should open the mock object group page after a paste operation.

Parameters:
openMockObjectGroupPageAfterPaste - whether the editor should open the mock object group page after a paste operation.