Class QueryHint


  • public class QueryHint
    extends Object
    Target({}) @Retention(RUNTIME) public @interface QueryHint { String name(); String value(); }

    Java class for query-hint complex type.

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

     <complexType name="query-hint">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • description

        protected String description
      • value

        protected String value
    • Constructor Detail

      • QueryHint

        public QueryHint()
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getValue

        public String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String