org.ow2.util.ee.metadata.common.api.xml.struct
Interface IMethodDD

All Superinterfaces:
Serializable

public interface IMethodDD
extends Serializable

Interface used for a method element.

Author:
Florent Benoit

Method Summary
 void addParam(String param)
          Add a param for this method.
 String getEjbName()
           
 String getName()
          Gets the name of the method.
 List<String> getParams()
          Gets the params of this method.
 void setEjbName(String ejbName)
          Sets the name of the EJB.
 void setName(String name)
          Sets the name of the method.
 String toString()
           
 

Method Detail

getName

String getName()
Gets the name of the method.

Returns:
the method's name.

setName

void setName(String name)
Sets the name of the method.

Parameters:
name - the name of the method.

getParams

List<String> getParams()
Gets the params of this method.

Returns:
the method's name.

addParam

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

Parameters:
param - the given parameter of the method

getEjbName

String getEjbName()
Returns:
name of the EJB.

setEjbName

void setEjbName(String ejbName)
Sets the name of the EJB.

Parameters:
ejbName - the given name.

toString

String toString()
Overrides:
toString in class Object
Returns:
string representation of this module.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.