org.mockcentral.editor.nodes.expectation
Class ExpectationDataBean

java.lang.Object
  extended by org.mockcentral.editor.nodes.expectation.ExpectationDataBean

public class ExpectationDataBean
extends java.lang.Object

A simple class used to store and retrieve data used to construct a new Mock Object method expectation.

Author:
David Hutchinson

Constructor Summary
ExpectationDataBean()
           
 
Method Summary
 MockableMethod getMethod()
          Returns the MockableMethod.
 ExpectationGroupDataBean getParent()
          Returns the parent ExpectationGroupDataBean.
 void setMethod(MockableMethod method)
          Sets the MockableMethod.
 void setParent(ExpectationGroupDataBean parent)
          Sets the parent ExpectationGroupDataBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectationDataBean

public ExpectationDataBean()
Method Detail

setParent

public void setParent(ExpectationGroupDataBean parent)
Sets the parent ExpectationGroupDataBean.

Parameters:
parent - the parent ExpectationGroupDataBean.

getParent

public ExpectationGroupDataBean getParent()
Returns the parent ExpectationGroupDataBean.

Returns:
the parent ExpectationGroupDataBean.

setMethod

public void setMethod(MockableMethod method)
Sets the MockableMethod.

Parameters:
method - the MockableMethod.

getMethod

public MockableMethod getMethod()
Returns the MockableMethod.

Returns:
the MockableMethod.