Package sonia.scm.store
Class QueryableStore.CollectionQueryField<T>
java.lang.Object
sonia.scm.store.QueryableStore.BaseQueryField<T,Object>
sonia.scm.store.QueryableStore.CollectionQueryField<T>
- Type Parameters:
T
- The type of the objects this condition is used for.
- All Implemented Interfaces:
QueryableStore.QueryField<T,
Object>
- Enclosing interface:
- QueryableStore<T>
public static class QueryableStore.CollectionQueryField<T>
extends QueryableStore.BaseQueryField<T,Object>
This class is used to create conditions for queries. Instances of this class will be created by the annotation
processor for each collection field of a class annotated with
This is not meant to be instantiated by users of the API!
QueryableType
. Note that this can only be
used for collections of base types like String
, number types, enums or booleans.
This is not meant to be instantiated by users of the API!
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class sonia.scm.store.QueryableStore.BaseQueryField
getName, isIdField, isNull
-
Constructor Details
-
CollectionQueryField
-
-
Method Details
-
contains
Creates a condition that checks if the field contains the given value.- Parameters:
value
- The value to check for.- Returns:
- The condition to use in a query.
-