org.mockcentral.editor.nodes.expectation.part
Class SignaturePartDataBean

java.lang.Object
  extended by org.mockcentral.server.SignaturePartBean
      extended by org.mockcentral.editor.nodes.expectation.part.SignaturePartDataBean

public class SignaturePartDataBean
extends org.mockcentral.server.SignaturePartBean

Bean class used in building JDOM Element objects for method expectation signature parts.

Author:
David Hutchinson

Constructor Summary
SignaturePartDataBean()
           
 
Method Summary
 java.lang.String getSignaturePartName()
          returns the signature part name, which will be "methodParam" or "expectedResult".
 SignaturePartElementCreationStrategy getStrategy()
          Returns the SignaturePartElementCreationStrategy that will be used to determine the signature part data (based on it's value type).
 void setSignaturePartName(java.lang.String signaturePartName)
          Sets the signature part name.
 void setStrategy(SignaturePartElementCreationStrategy strategy)
          Sets the the SignaturePartElementCreationStrategy.
 
Methods inherited from class org.mockcentral.server.SignaturePartBean
addCollectionEntry, addConstructorArg, addObserver, clone, equals, fireAllDataChanged, getCollectionEntries, getConstructorArgs, getValue, getValueClassName, getValueType, hashCode, removeObserver, setCollection, setCollectionEntries, setConstructorArgs, setValue, setValueClassName, setValueType, setValueTypeString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignaturePartDataBean

public SignaturePartDataBean()
Method Detail

getSignaturePartName

public java.lang.String getSignaturePartName()
returns the signature part name, which will be "methodParam" or "expectedResult".

Returns:
the signaturePartName.

setSignaturePartName

public void setSignaturePartName(java.lang.String signaturePartName)
Sets the signature part name.

Parameters:
signaturePartName - the value to set.

getStrategy

public SignaturePartElementCreationStrategy getStrategy()
Returns the SignaturePartElementCreationStrategy that will be used to determine the signature part data (based on it's value type).

Returns:
the the SignaturePartElementCreationStrategy.

setStrategy

public void setStrategy(SignaturePartElementCreationStrategy strategy)
Sets the the SignaturePartElementCreationStrategy.

Parameters:
strategy - the value to set.