Package org.jboss.jca.codegenerator
Class MethodForConnection
- java.lang.Object
-
- org.jboss.jca.codegenerator.MethodForConnection
-
public class MethodForConnection extends Object
A MethodForConnection.- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
-
Constructor Summary
Constructors Constructor Description MethodForConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getExceptionType()Get the exceptionType.StringgetMethodName()Get the methodName.List<MethodParam>getParams()Get the params.StringgetReturnType()Get the returnType.MethodParamnewParam(String name, String type)new paramvoidsetExceptionType(List<String> exceptionType)Set the exceptionType.voidsetMethodName(String methodName)Set the methodName.voidsetParams(List<MethodParam> params)Set the params.voidsetReturnType(String returnType)Set the returnType.StringtoString()toString
-
-
-
Method Detail
-
newParam
public MethodParam newParam(String name, String type)
new param- Parameters:
name- param nametype- param type- Returns:
- new param
-
setMethodName
public void setMethodName(String methodName)
Set the methodName.- Parameters:
methodName- The methodName to set.
-
getMethodName
public String getMethodName()
Get the methodName.- Returns:
- the methodName.
-
setReturnType
public void setReturnType(String returnType)
Set the returnType.- Parameters:
returnType- The returnType to set.
-
getReturnType
public String getReturnType()
Get the returnType.- Returns:
- the returnType.
-
setParams
public void setParams(List<MethodParam> params)
Set the params.- Parameters:
params- The params to set.
-
getParams
public List<MethodParam> getParams()
Get the params.- Returns:
- the params.
-
setExceptionType
public void setExceptionType(List<String> exceptionType)
Set the exceptionType.- Parameters:
exceptionType- The exceptionType to set.
-
getExceptionType
public List<String> getExceptionType()
Get the exceptionType.- Returns:
- the exceptionType.
-
-