public class Mock extends Object implements Serializable
| Constructor and Description |
|---|
Mock() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(MockMethod mockMethod)
Method addMethod.
|
boolean |
equals(Object other)
Method equals.
|
String |
getClassName()
Get the className field.
|
String |
getCode()
Get the code field.
|
String |
getConstructors()
Get the constructors field.
|
String |
getImports()
Get the imports 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 |
setConstructors(String constructors)
Set the constructors field.
|
void |
setImports(String imports)
Set the imports 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.
|
public void addMethod(MockMethod mockMethod)
mockMethod - public boolean equals(Object other)
public String getClassName()
public String getCode()
public String getConstructors()
public String getImports()
public List getMethods()
public String getName()
public String getPostConstruct()
public void removeMethod(MockMethod mockMethod)
mockMethod - public void setClassName(String className)
className - public void setCode(String code)
code - public void setConstructors(String constructors)
constructors - public void setImports(String imports)
imports - public void setMethods(List methods)
methods - public void setName(String name)
name - public void setPostConstruct(String postConstruct)
postConstruct - Copyright © 2012 JBoss by Red Hat. All Rights Reserved.