public class Method
extends java.lang.Object
Java class for methodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="methodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/> <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/> <element name="method-intf" type="{http://java.sun.com/xml/ns/javaee}method-intfType" minOccurs="0"/> <element name="method-name" type="{http://java.sun.com/xml/ns/javaee}method-nameType"/> <element name="method-params" type="{http://java.sun.com/xml/ns/javaee}method-paramsType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected TextMap |
description |
protected java.lang.String |
ejbName |
protected java.lang.String |
id |
protected MethodIntf |
methodIntf |
protected java.lang.String |
methodName |
protected MethodParams |
methodParams |
Constructor and Description |
---|
Method() |
Method(java.lang.String ejbName,
java.lang.reflect.Method method) |
Method(java.lang.String ejbName,
java.lang.String methodName) |
Method(java.lang.String ejbName,
java.lang.String methodName,
java.lang.String... parameters) |
Method(java.lang.String ejbName,
java.lang.String className,
java.lang.String methodName) |
Method(java.lang.String ejbName,
java.lang.String className,
java.lang.String methodName,
java.lang.String... parameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName() |
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getEjbName() |
java.lang.String |
getId() |
MethodIntf |
getMethodIntf() |
java.lang.String |
getMethodName() |
MethodParams |
getMethodParams() |
void |
setDescriptions(Text[] text) |
void |
setEjbName(java.lang.String value)
The ejb-nameType specifies an enterprise bean's name.
|
void |
setId(java.lang.String value) |
void |
setMethodIntf(MethodIntf value) |
void |
setMethodName(java.lang.String value)
contains a name of an enterprise
bean method or the asterisk (*) character.
|
void |
setMethodParams(MethodParams value) |
Method |
withInterface(MethodIntf methodIntf) |
protected TextMap description
protected java.lang.String ejbName
protected java.lang.String className
protected MethodIntf methodIntf
protected java.lang.String methodName
protected MethodParams methodParams
protected java.lang.String id
public Method(java.lang.String ejbName, java.lang.reflect.Method method)
public Method(java.lang.String ejbName, java.lang.String methodName, java.lang.String... parameters)
public Method(java.lang.String ejbName, java.lang.String className, java.lang.String methodName, java.lang.String... parameters)
public Method()
public Method(java.lang.String ejbName, java.lang.String methodName)
public Method(java.lang.String ejbName, java.lang.String className, java.lang.String methodName)
public java.lang.String getClassName()
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public java.lang.String getEjbName()
public void setEjbName(java.lang.String value)
public MethodIntf getMethodIntf()
public void setMethodIntf(MethodIntf value)
public Method withInterface(MethodIntf methodIntf)
public java.lang.String getMethodName()
public void setMethodName(java.lang.String value)
public MethodParams getMethodParams()
public void setMethodParams(MethodParams value)
public java.lang.String getId()
public void setId(java.lang.String value)