Class Query


  • public class Query
    extends Object
    ejb-jar_3_1.xsd

    Java class for queryType complex type.

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

     <complexType name="queryType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/>
             <element name="query-method" type="{http://java.sun.com/xml/ns/javaee}query-methodType"/>
             <element name="result-type-mapping" type="{http://java.sun.com/xml/ns/javaee}result-type-mappingType" minOccurs="0"/>
             <element name="ejb-ql" type="{http://java.sun.com/xml/ns/javaee}xsdStringType"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Query

        public Query()
    • Method Detail

      • getDescription

        public Text getDescription()
      • setDescription

        public void setDescription​(Text value)
      • setQueryMethod

        public void setQueryMethod​(QueryMethod value)
      • setResultTypeMapping

        public void setResultTypeMapping​(ResultTypeMapping value)
      • getEjbQl

        public String getEjbQl()
      • setEjbQl

        public void setEjbQl​(String value)
      • getId

        public String getId()
      • setId

        public void setId​(String value)