|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.expectation_group.ExpectationGroupDataBean
public class ExpectationGroupDataBean
A bean class storing data used to create the JDOM Element
corresponding to a group of method expectations.
| Constructor Summary | |
|---|---|
ExpectationGroupDataBean()
|
|
| Method Summary | |
|---|---|
java.util.List<MockableMethod> |
getMethods()
Returns the List of MockableMethod instances. |
org.mockcentral.server.MockMethodType |
getMockMethodType()
Returns the MockMethodType for the group of expectations. |
SignaturePartElementCreationStrategy |
getParamsStrategy()
Returns the parameters SignaturePartElementCreationStrategy
for the group of expectations. |
MockObjectDataBean |
getParent()
Returns the parent MockObjectDataBean. |
SignaturePartElementCreationStrategy |
getResultStrategy()
Returns the result SignaturePartElementCreationStrategy for
the group of expectations. |
java.lang.String |
getThrowableClassName()
Returns the throwableClassName for the group of expectations. |
boolean |
isGenerateDefaultToStringMethod()
Returns the value for whether to generate a default toString() method. |
boolean |
isIncludeObjectMethods()
Returns the value for whether to include java.lang.Object methods in the selectable list. |
void |
setGenerateDefaultToStringMethod(boolean generateDefaultToStringMethod)
Sets the value for whether to generate a default toString()
method. |
void |
setIncludeObjectMethods(boolean includeObjectMethods)
Sets the value for whether to include java.lang.Object methods in the selectable list. |
void |
setMethods(java.util.List<MockableMethod> methods)
Sets the List of MockableMethod instances. |
void |
setMockMethodType(org.mockcentral.server.MockMethodType mockMethodType)
Sets the MockMethodType for the group of expectations. |
void |
setParamsStrategy(SignaturePartElementCreationStrategy paramsStrategy)
Sets the parameters SignaturePartElementCreationStrategy for
the group of expectations. |
void |
setParent(MockObjectDataBean parent)
Sets the parent MockObjectDataBean. |
void |
setResultStrategy(SignaturePartElementCreationStrategy resultStrategy)
Sets the result SignaturePartElementCreationStrategy for the
group of expectations. |
void |
setThrowableClassName(java.lang.String throwableClassName)
Sets the throwableClassName for the group of expectations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpectationGroupDataBean()
| Method Detail |
|---|
public java.util.List<MockableMethod> getMethods()
List of MockableMethod instances.
List of MockableMethod instances.public void setMethods(java.util.List<MockableMethod> methods)
List of MockableMethod instances.
methods - the List to set.public void setMockMethodType(org.mockcentral.server.MockMethodType mockMethodType)
MockMethodType for the group of expectations.
mockMethodType - the MockMethodType for the group of
expectations.public org.mockcentral.server.MockMethodType getMockMethodType()
MockMethodType for the group of expectations.
MockMethodType for the group of expectations.public void setParamsStrategy(SignaturePartElementCreationStrategy paramsStrategy)
SignaturePartElementCreationStrategy for
the group of expectations.
paramsStrategy - the parameters
SignaturePartElementCreationStrategy for the group of
expectations.public SignaturePartElementCreationStrategy getParamsStrategy()
SignaturePartElementCreationStrategy
for the group of expectations.
SignaturePartElementCreationStrategy
for the group of expectations.public void setResultStrategy(SignaturePartElementCreationStrategy resultStrategy)
SignaturePartElementCreationStrategy for the
group of expectations.
resultStrategy - the result
SignaturePartElementCreationStrategy for the group of
expectations.public SignaturePartElementCreationStrategy getResultStrategy()
SignaturePartElementCreationStrategy for
the group of expectations.
SignaturePartElementCreationStrategy for
the group of expectations.public void setThrowableClassName(java.lang.String throwableClassName)
throwableClassName - for the group of expectations.public java.lang.String getThrowableClassName()
public boolean isGenerateDefaultToStringMethod()
toString() method.
toString() method.public void setGenerateDefaultToStringMethod(boolean generateDefaultToStringMethod)
toString()
method.
generateDefaultToStringMethod - the value to set.public boolean isIncludeObjectMethods()
public void setIncludeObjectMethods(boolean includeObjectMethods)
includeObjectMethods - the value to set.public MockObjectDataBean getParent()
MockObjectDataBean.
MockObjectDataBean.public void setParent(MockObjectDataBean parent)
MockObjectDataBean.
parent - the MockObjectDataBean to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||