org.objectweb.jonas_ejb.deployment.xml
Class Method

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_ejb.deployment.xml.Method
All Implemented Interfaces:
java.io.Serializable, Element

public class Method
extends AbsElement

This class defines the implementation of the element method

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
Method()
          Constructor
 
Method Summary
 java.lang.String getDescription()
          Gets the description
 java.lang.String getEjbName()
          Gets the ejb-name
 java.lang.String getMethodIntf()
          Gets the method-intf
 java.lang.String getMethodName()
          Gets the method-name
 MethodParams getMethodParams()
          Gets the method-params
 void setDescription(java.lang.String description)
          Set the description
 void setEjbName(java.lang.String ejbName)
          Set the ejb-name
 void setMethodIntf(java.lang.String methodIntf)
          Set the method-intf
 void setMethodName(java.lang.String methodName)
          Set the method-name
 void setMethodParams(MethodParams methodParams)
          Set the method-params
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Method

public Method()
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description

getEjbName

public java.lang.String getEjbName()
Gets the ejb-name

Returns:
the ejb-name

setEjbName

public void setEjbName(java.lang.String ejbName)
Set the ejb-name

Parameters:
ejbName - ejbName

getMethodIntf

public java.lang.String getMethodIntf()
Gets the method-intf

Returns:
the method-intf

setMethodIntf

public void setMethodIntf(java.lang.String methodIntf)
Set the method-intf

Parameters:
methodIntf - methodIntf

getMethodName

public java.lang.String getMethodName()
Gets the method-name

Returns:
the method-name

setMethodName

public void setMethodName(java.lang.String methodName)
Set the method-name

Parameters:
methodName - methodName

getMethodParams

public MethodParams getMethodParams()
Gets the method-params

Returns:
the method-params

setMethodParams

public void setMethodParams(MethodParams methodParams)
Set the method-params

Parameters:
methodParams - methodParams

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.