org.jboss.jca.codegenerator
Class MethodForConnection

java.lang.Object
  extended by org.jboss.jca.codegenerator.MethodForConnection

public class MethodForConnection
extends Object

A MethodForConnection.

Version:
$Revision: $
Author:
Jeff Zhang

Constructor Summary
MethodForConnection()
           
 
Method Summary
 List<String> getExceptionType()
          Get the exceptionType.
 String getMethodName()
          Get the methodName.
 List<MethodParam> getParams()
          Get the params.
 String getReturnType()
          Get the returnType.
 MethodParam newParam(String name, String type)
          new param
 void setExceptionType(List<String> exceptionType)
          Set the exceptionType.
 void setMethodName(String methodName)
          Set the methodName.
 void setParams(List<MethodParam> params)
          Set the params.
 void setReturnType(String returnType)
          Set the returnType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodForConnection

public MethodForConnection()
Method Detail

newParam

public MethodParam newParam(String name,
                            String type)
new param

Parameters:
name - param name
type - 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.


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)