Annotation Type Query

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      Name of the query (mandatory)
      String value
      The query string (mandatory)
    • Element Detail

      • name

        String name
        Name of the query (mandatory)
        Returns:
        the name of the query
      • value

        String value
        The query string (mandatory)
        Returns:
        the query string
      • language

        String language
        The query language
        Returns:
        the query language
        Default:
        "JDOQL"
      • unmodifiable

        String unmodifiable
        Whether the query is unmodifiable.
        Returns:
        whether the query is unmodifiable
        Default:
        ""
      • unique

        String unique
        Whether the query returns a single unique result.
        Returns:
        whether the query returns a single unique result
        Default:
        ""
      • resultClass

        Class resultClass
        Result class into which to put the results.
        Returns:
        the class of the result
        Default:
        void.class
      • fetchPlan

        String fetchPlan
        The name of the fetch plan used by this query
        Returns:
        the fetch plan
        Default:
        ""
      • extensions

        Extension[] extensions
        Vendor extensions.
        Returns:
        the vendor extensions
        Default:
        {}