FileDocCategorySizeDatePackage
Method.javaAPI DocJBoss 4.2.12548Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.metamodel

Method

public class Method extends Object
Represents an element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private String
ejbName
private String
methodName
private String
transactionTimeout
private List
methodParams
Constructors Summary
Methods Summary
public voidaddMethodParam(java.lang.String methodParam)

      methodParams.add(methodParam);
   
public java.lang.StringgetEjbName()

      return ejbName;
   
public java.lang.StringgetMethodName()

      return methodName;
   
public java.util.ListgetMethodParams()

      return methodParams;
   
public java.lang.StringgetTransactionTimeout()


     
   
      return transactionTimeout;
   
public voidsetEjbName(java.lang.String ejbName)

      this.ejbName = ejbName;
   
public voidsetHasParameters()

      methodParams = new ArrayList();
   
public voidsetMethodName(java.lang.String methodName)

      this.methodName = methodName;
   
public voidsetTransactionTimeout(java.lang.String transactionTimeout)

      this.transactionTimeout = transactionTimeout;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("ejbName=").append(ejbName);
      sb.append(", methodName=").append(methodName);
      sb.append("]");
      return sb.toString();