Package org.jboss.jca.codegenerator
Class MethodForConnection
java.lang.Object
org.jboss.jca.codegenerator.MethodForConnection
A MethodForConnection.
- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the exceptionType.Get the methodName.Get the params.Get the returnType.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.toString()toString
-
Constructor Details
-
MethodForConnection
public MethodForConnection()
-
-
Method Details
-
newParam
new param- Parameters:
name- param nametype- param type- Returns:
- new param
-
setMethodName
Set the methodName.- Parameters:
methodName- The methodName to set.
-
getMethodName
Get the methodName.- Returns:
- the methodName.
-
setReturnType
Set the returnType.- Parameters:
returnType- The returnType to set.
-
getReturnType
Get the returnType.- Returns:
- the returnType.
-
setParams
Set the params.- Parameters:
params- The params to set.
-
getParams
Get the params.- Returns:
- the params.
-
setExceptionType
Set the exceptionType.- Parameters:
exceptionType- The exceptionType to set.
-
getExceptionType
Get the exceptionType.- Returns:
- the exceptionType.
-
toString
toString
-