Class Method


  • public class Method
    extends Object
    ejb-jar_3_1.xsd

    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>
     
    • Method Detail

      • getClassName

        public String getClassName()
      • getDescriptions

        public Text[] getDescriptions()
      • setDescriptions

        public void setDescriptions​(Text[] text)
      • getDescription

        public String getDescription()
      • getEjbName

        public String getEjbName()
      • setEjbName

        public void setEjbName​(String value)
        The ejb-nameType specifies an enterprise bean's name. It is used by ejb-name elements. This name is assigned by the ejb-jar file producer to name the enterprise bean in the ejb-jar file's deployment descriptor. The name must be unique among the names of the enterprise beans in the same ejb-jar file. There is no architected relationship between the used ejb-name in the deployment descriptor and the JNDI name that the Deployer will assign to the enterprise bean's home. The name for an entity bean must conform to the lexical rules for an NMTOKEN. Example: EmployeeService
      • getMethodIntf

        public MethodIntf getMethodIntf()
      • setMethodIntf

        public void setMethodIntf​(MethodIntf value)
      • getMethodName

        public String getMethodName()
      • setMethodName

        public void setMethodName​(String value)
        contains a name of an enterprise bean method or the asterisk (*) character. The asterisk is used when the element denotes all the methods of an enterprise bean's client view interfaces.
      • setMethodParams

        public void setMethodParams​(MethodParams value)
      • getId

        public String getId()
      • setId

        public void setId​(String value)