org.objectweb.jonas_ejb.deployment.xml
Class QueryMethod

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

public class QueryMethod
extends AbsElement

This class defines the implementation of the element query-method

Author:
JOnAS team
See Also:
Serialized Form

Constructor Summary
QueryMethod()
          Constructor
 
Method Summary
 java.lang.String getMethodName()
          Gets the method-name
 MethodParams getMethodParams()
          Gets the method-params
 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

QueryMethod

public QueryMethod()
Constructor

Method Detail

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.