Class QueryMethod


  • public class QueryMethod
    extends Object
    ejb-jar_3_1.xsd

    Java class for query-methodType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="query-methodType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <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"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • QueryMethod

        public QueryMethod()
      • QueryMethod

        public QueryMethod​(String methodName,
                           String... params)
    • Method Detail

      • 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)