Annotation Interface DataMethodQuery
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE})
@Internal
@Inherited
public @interface DataMethodQuery
Internal annotation used describe the stored query definition.
- Since:
- 4.10
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes the operation type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDoes the query result in a DTO object.static final StringThe member that holds expandable query parts.static final StringThe parameter that holds the limit value.static final StringThe member that holds the native query value.static final StringThe parameter that holds the offset value.static final StringThe member name that holds the root entity type.static final StringDoes the query contains optimistic lock.static final StringMeta member for storing the parameters.static final StringThe member name that holds the type roles if parameters.static final StringThe member that holds the is procedure value.static final StringThe member that holds the query value.static final StringWhether the user is a raw user specified query.static final StringThe member name that holds the result type.static final StringThe member name that holds the result type.static final StringThe member name that holds the type role of the return type.static final StringThe parameter that holds the order value.static final StringThe annotation name. -
Optional Element Summary
Optional Elements
-
Field Details
-
NAME
The annotation name. -
META_MEMBER_QUERY
-
META_MEMBER_NATIVE
-
META_MEMBER_RAW_QUERY
-
META_MEMBER_PROCEDURE
-
META_MEMBER_EXPANDABLE_QUERY
The member that holds expandable query parts.- See Also:
-
META_MEMBER_RESULT_TYPE
-
META_MEMBER_RESULT_DATA_TYPE
The member name that holds the result type.- See Also:
-
META_MEMBER_OFFSET
-
META_MEMBER_LIMIT
-
META_MEMBER_SORT
-
META_MEMBER_DTO
-
META_MEMBER_OPTIMISTIC_LOCK
-
META_MEMBER_PARAMETERS
-
META_MEMBER_OPERATION_TYPE
The member name that holds the root entity type.- See Also:
-
META_MEMBER_PARAMETERS_TYPE_ROLES
The member name that holds the type roles if parameters.- See Also:
-
META_MEMBER_RETURN_TYPE_ROLE
The member name that holds the type role of the return type.- See Also:
-
-
Element Details
-
resultType
-
resultDataType
-
parameters
-
procedure
boolean procedure- Returns:
- True if the method represents the procedure invocation.
- Since:
- 4.2.0
- Default:
false
-