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

java.lang.Object
  extended by org.mockcentral.editor.nodes.expectation.part.SignaturePartDescriber

public class SignaturePartDescriber
extends java.lang.Object

Utility class for creating String descriptions of SignaturePartBean instances.

Author:
David Hutchinson

Constructor Summary
SignaturePartDescriber()
           
 
Method Summary
static java.lang.String getCollectionDescription(org.mockcentral.server.SignaturePartBean spb)
          Returns a label for the Collection modeled in the supplied SignaturePartBean.
static java.lang.String getDescription(org.mockcentral.server.SignaturePartBean spb)
          Returns a description for the supplied SignaturePartBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignaturePartDescriber

public SignaturePartDescriber()
Method Detail

getDescription

public static java.lang.String getDescription(org.mockcentral.server.SignaturePartBean spb)
Returns a description for the supplied SignaturePartBean.

Parameters:
spb - the SignaturePartBean.
Returns:
a description for the supplied SignaturePartBean modeling a Mock Object method signature part.

getCollectionDescription

public static java.lang.String getCollectionDescription(org.mockcentral.server.SignaturePartBean spb)
Returns a label for the Collection modeled in the supplied SignaturePartBean.

Parameters:
spb - the SignaturePartBean.
Returns:
a label for the Collection.