|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.MethodType
public class MethodType
The methodType is used to denote a method of an enterprise
bean's business, home, component, and/or web service endpoint
interface, or, in the case of a message-driven bean, the
bean's message listener method, or a set of such
methods. The ejb-name element must be the name of one of the
enterprise beans declared in the deployment descriptor; the
optional method-intf element allows to distinguish between a
method with the same signature that is multiply defined
across the business, home, component, and/or web service
endpoint nterfaces; the method-name element specifies the
method name; and the optional method-params elements identify
a single method among multiple methods with an overloaded
method name.
There are three possible styles of using methodType element
within a method element:
1.
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>
| Field Summary | |
|---|---|
protected DescriptionType[] |
description
|
protected EjbNameType |
ejbName
|
protected String |
id
|
protected MethodIntfType |
methodIntf
|
protected MethodNameType |
methodName
|
protected MethodParamsType |
methodParams
|
| Constructor Summary | |
|---|---|
MethodType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.MethodType instance. |
|
MethodType(MethodType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.MethodType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
MethodType |
clone()
Creates and returns a copy of this object. |
void |
copyDescription(DescriptionType[] source)
Copies all values of property Description. |
DescriptionType[] |
getDescription()
|
DescriptionType |
getDescription(int idx)
|
int |
getDescriptionLength()
|
EjbNameType |
getEjbName()
Gets the value of the ejbName property. |
String |
getId()
Gets the value of the id property. |
MethodIntfType |
getMethodIntf()
Gets the value of the methodIntf property. |
MethodNameType |
getMethodName()
Gets the value of the methodName property. |
MethodParamsType |
getMethodParams()
Gets the value of the methodParams property. |
void |
setDescription(DescriptionType[] values)
|
DescriptionType |
setDescription(int idx,
DescriptionType value)
|
void |
setEjbName(EjbNameType value)
Sets the value of the ejbName property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setMethodIntf(MethodIntfType value)
Sets the value of the methodIntf property. |
void |
setMethodName(MethodNameType value)
Sets the value of the methodName property. |
void |
setMethodParams(MethodParamsType value)
Sets the value of the methodParams property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected EjbNameType ejbName
protected MethodIntfType methodIntf
protected MethodNameType methodName
protected MethodParamsType methodParams
protected String id
| Constructor Detail |
|---|
public MethodType()
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.MethodType instance.
public MethodType(MethodType o)
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.MethodType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic EjbNameType getEjbName()
EjbNameTypepublic void setEjbName(EjbNameType value)
value - allowed object is
EjbNameTypepublic MethodIntfType getMethodIntf()
MethodIntfTypepublic void setMethodIntf(MethodIntfType value)
value - allowed object is
MethodIntfTypepublic MethodNameType getMethodName()
MethodNameTypepublic void setMethodName(MethodNameType value)
value - allowed object is
MethodNameTypepublic MethodParamsType getMethodParams()
MethodParamsTypepublic void setMethodParams(MethodParamsType value)
value - allowed object is
MethodParamsTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic void copyDescription(DescriptionType[] source)
Description.
source - The source to copy from.
NullPointerException - if source is null.public MethodType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||