org.objectweb.easybeans.deployment.xml.struct.common
Class MethodDD

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.common.MethodDD

public class MethodDD
extends java.lang.Object

This class defines the <method> element.

Author:
Florent Benoit

Field Summary
private  java.lang.String name
          Name of the method.
private  java.util.List<java.lang.String> params
          List of params.
 
Constructor Summary
MethodDD()
          Default constructor.
 
Method Summary
 void addParam(java.lang.String param)
          Add a param for this method.
 java.lang.String getName()
          Gets the name of the method.
 java.util.List<java.lang.String> getParams()
          Gets the params of this method.
 void setName(java.lang.String name)
          Sets the name of the method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Name of the method.


params

private java.util.List<java.lang.String> params
List of params.

Constructor Detail

MethodDD

public MethodDD()
Default constructor.

Method Detail

getName

public java.lang.String getName()
Gets the name of the method.

Returns:
the method's name.

setName

public void setName(java.lang.String name)
Sets the name of the method.

Parameters:
name - the name of the method.

getParams

public java.util.List<java.lang.String> getParams()
Gets the params of this method.

Returns:
the method's name.

addParam

public void addParam(java.lang.String param)
Add a param for this method.

Parameters:
param - the given parameter of the method