Interface Field<A>
-
- Type Parameters:
A- type of the field, e.g. String or Date.
- All Known Subinterfaces:
PropertyField<A>,VersionField
public interface Field<A>A Field refers to a field in the persistence layer of the asset manager. This may either be a real field like a property or a virtual field that helps to build a predicate for a real field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Orderasc()Create an ascending order specifier for the field.Orderdesc()Create a descending order specifier for the field.Predicateeq(A right)Create a predicate that holds true if the field's value and constant valuerightare equal.Predicateeq(PropertyField<A> right)Create a predicate that holds true if the field's value and the value of property fieldrightare equal.Predicateexists()Create a predicate that holds true if the field exists.Predicatege(A right)Create a predicate that holds true if the field's value is greater than constant valuerightor equal to it.Predicatege(PropertyField<A> right)Create a predicate that holds true if the field's value is greater than the value of property fieldrightor equal to it.Predicategt(A right)Create a predicate that holds true if the field's value is strictly greater than constant valueright.Predicategt(PropertyField<A> right)Create a predicate that holds true if the field's value is strictly greater than the value of property fieldright.Predicatele(A right)Create a predicate that holds true if the field's value is less than constant valuerightor equal to it.Predicatele(PropertyField<A> right)Create a predicate that holds true if the field's value is less than the value of property fieldrightor equal to it.Predicatelt(A right)Create a predicate that holds true if the field's value is strictly less than constant valueright.Predicatelt(PropertyField<A> right)Create a predicate that holds true if the field's value is strictly less than the value of property fieldright.PredicatenotExists()Create a predicate that holds true if the field does not exist.
-
-
-
Method Detail
-
eq
Predicate eq(A right)
Create a predicate that holds true if the field's value and constant valuerightare equal.
-
eq
Predicate eq(PropertyField<A> right)
Create a predicate that holds true if the field's value and the value of property fieldrightare equal.
-
lt
Predicate lt(A right)
Create a predicate that holds true if the field's value is strictly less than constant valueright.
-
lt
Predicate lt(PropertyField<A> right)
Create a predicate that holds true if the field's value is strictly less than the value of property fieldright.
-
le
Predicate le(A right)
Create a predicate that holds true if the field's value is less than constant valuerightor equal to it.
-
le
Predicate le(PropertyField<A> right)
Create a predicate that holds true if the field's value is less than the value of property fieldrightor equal to it.
-
gt
Predicate gt(A right)
Create a predicate that holds true if the field's value is strictly greater than constant valueright.
-
gt
Predicate gt(PropertyField<A> right)
Create a predicate that holds true if the field's value is strictly greater than the value of property fieldright.
-
ge
Predicate ge(A right)
Create a predicate that holds true if the field's value is greater than constant valuerightor equal to it.
-
ge
Predicate ge(PropertyField<A> right)
Create a predicate that holds true if the field's value is greater than the value of property fieldrightor equal to it.
-
exists
Predicate exists()
Create a predicate that holds true if the field exists.
-
notExists
Predicate notExists()
Create a predicate that holds true if the field does not exist.
-
desc
Order desc()
Create a descending order specifier for the field.
-
asc
Order asc()
Create an ascending order specifier for the field.
-
-