|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.was.v6.ejb.MethodElement
public class MethodElement
The method element is used to denote a method of an enterprise bean's home or remote interface, or a set of methods. The ejb-name element must be the name of one of the enterprise beans in declared in the deployment descriptor; the optional method-intf element allows to distinguish between a method with the same signature that is defined in both the home and remote interface; 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 the method element syntax: 1.
<complexType name="MethodElement">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="enterpriseBean" type="{ejb.xmi}EnterpriseBean"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="descriptions" type="{common.xmi}Description"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.omg.org/XMI}Extension"/>
</choice>
</choice>
<attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="enterpriseBean" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="parms" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{ejb.xmi}MethodElementKind" />
<attribute ref="{http://www.omg.org/XMI}id"/>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
description
|
protected List<Description> |
descriptions
|
protected String |
enterpriseBean
|
protected List<EnterpriseBean> |
enterpriseBeans
|
protected List<Extension> |
extensions
|
protected String |
href
|
protected String |
id
|
protected Object |
idref
|
protected String |
label
|
protected MethodElementEnum |
methodElementType
|
protected String |
name
|
protected String |
parms
|
protected QName |
type
|
protected String |
uuid
|
protected String |
version
|
| Constructor Summary | |
|---|---|
MethodElement()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Gets the value of the description property. |
List<Description> |
getDescriptions()
Gets the value of the descriptions property. |
String |
getEnterpriseBean()
Gets the value of the enterpriseBean property. |
List<EnterpriseBean> |
getEnterpriseBeans()
Gets the value of the enterpriseBeans property. |
List<Extension> |
getExtensions()
Gets the value of the extensions property. |
String |
getHref()
Gets the value of the href property. |
String |
getId()
Gets the value of the id property. |
Object |
getIdref()
Gets the value of the idref property. |
String |
getLabel()
Gets the value of the label property. |
MethodElementEnum |
getMethodElementType()
Gets the value of the methodElementType property. |
String |
getName()
Gets the value of the name property. |
String |
getParms()
Gets the value of the parms property. |
QName |
getType()
Gets the value of the type property. |
String |
getUuid()
Gets the value of the uuid property. |
String |
getVersion()
Gets the value of the version property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setEnterpriseBean(String value)
Sets the value of the enterpriseBean property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setIdref(Object value)
Sets the value of the idref property. |
void |
setLabel(String value)
Sets the value of the label property. |
void |
setMethodElementType(MethodElementEnum value)
Sets the value of the methodElementType property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setParms(String value)
Sets the value of the parms property. |
void |
setType(QName value)
Sets the value of the type property. |
void |
setUuid(String value)
Sets the value of the uuid property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<EnterpriseBean> enterpriseBeans
protected List<Description> descriptions
protected List<Extension> extensions
protected String description
protected String enterpriseBean
protected String name
protected String parms
protected MethodElementEnum methodElementType
protected String id
protected QName type
protected String version
protected String href
protected Object idref
protected String label
protected String uuid
| Constructor Detail |
|---|
public MethodElement()
| Method Detail |
|---|
public List<EnterpriseBean> getEnterpriseBeans()
set method for the enterpriseBeans property.
For example, to add a new item, do as follows:
getEnterpriseBeans().add(newItem);Objects of the following type(s) are allowed in the list
EnterpriseBean
public List<Description> getDescriptions()
set method for the descriptions property.
For example, to add a new item, do as follows:
getDescriptions().add(newItem);Objects of the following type(s) are allowed in the list
Description
public List<Extension> getExtensions()
set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);Objects of the following type(s) are allowed in the list
Extension
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is Stringpublic String getEnterpriseBean()
Stringpublic void setEnterpriseBean(String value)
value - allowed object is Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is Stringpublic String getParms()
Stringpublic void setParms(String value)
value - allowed object is Stringpublic MethodElementEnum getMethodElementType()
MethodElementEnumpublic void setMethodElementType(MethodElementEnum value)
value - allowed object is MethodElementEnumpublic String getId()
Stringpublic void setId(String value)
value - allowed object is Stringpublic QName getType()
QNamepublic void setType(QName value)
value - allowed object is QNamepublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is Stringpublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is Stringpublic Object getIdref()
Objectpublic void setIdref(Object value)
value - allowed object is Objectpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is Stringpublic String getUuid()
Stringpublic void setUuid(String value)
value - allowed object is String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||