JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

org.jboss.mockgenerator.config
Class Mock

java.lang.Object
  extended by org.jboss.mockgenerator.config.Mock
All Implemented Interfaces:
Serializable

public class Mock
extends Object
implements Serializable

Class Mock.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Mock()
           
 
Method Summary
 void addMethod(MockMethod mockMethod)
          Method addMethod.
 boolean equals(Object other)
          Method equals.
 String getClassName()
          Get the className field.
 String getCode()
          Get the code field.
 List getMethods()
          Method getMethods.
 String getName()
          Get the name field.
 String getPostConstruct()
          Get the postConstruct field.
 int hashCode()
          Method hashCode.
 void removeMethod(MockMethod mockMethod)
          Method removeMethod.
 void setClassName(String className)
          Set the className field.
 void setCode(String code)
          Set the code field.
 void setMethods(List methods)
          Set the methods field.
 void setName(String name)
          Set the name field.
 void setPostConstruct(String postConstruct)
          Set the postConstruct field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mock

public Mock()
Method Detail

addMethod

public void addMethod(MockMethod mockMethod)
Method addMethod.

Parameters:
mockMethod -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getClassName

public String getClassName()
Get the className field.

Returns:
String

getCode

public String getCode()
Get the code field.

Returns:
String

getMethods

public List getMethods()
Method getMethods.

Returns:
List

getName

public String getName()
Get the name field.

Returns:
String

getPostConstruct

public String getPostConstruct()
Get the postConstruct field.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

removeMethod

public void removeMethod(MockMethod mockMethod)
Method removeMethod.

Parameters:
mockMethod -

setClassName

public void setClassName(String className)
Set the className field.

Parameters:
className -

setCode

public void setCode(String code)
Set the code field.

Parameters:
code -

setMethods

public void setMethods(List methods)
Set the methods field.

Parameters:
methods -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

setPostConstruct

public void setPostConstruct(String postConstruct)
Set the postConstruct field.

Parameters:
postConstruct -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String

JSF Test Framework: Maven Mock-Generator Plugin 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.