Interface Field<A>
- Type Parameters:
A- type of the field, e.g. String or Date.
- All Known Subinterfaces:
PropertyField<A>,VersionField
- All Known Implementing Classes:
AbstractSnapshotField,PropertyFieldImpl,SimpleSnapshotField,VersionFieldImpl
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
Modifier and TypeMethodDescriptionasc()Create an ascending order specifier for the field.desc()Create a descending order specifier for the field.Create a predicate that holds true if the field's value and constant valuerightare equal.eq(PropertyField<A> right) Create a predicate that holds true if the field's value and the value of property fieldrightare equal.exists()Create a predicate that holds true if the field exists.Create a predicate that holds true if the field's value is greater than constant valuerightor equal to it.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.Create a predicate that holds true if the field's value is strictly greater than constant valueright.gt(PropertyField<A> right) Create a predicate that holds true if the field's value is strictly greater than the value of property fieldright.Create a predicate that holds true if the field's value is less than constant valuerightor equal to it.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.Create a predicate that holds true if the field's value is strictly less than constant valueright.lt(PropertyField<A> right) Create a predicate that holds true if the field's value is strictly less than the value of property fieldright.Create a predicate that holds true if the field does not exist.
-
Method Details
-
eq
Create a predicate that holds true if the field's value and constant valuerightare equal. -
eq
Create a predicate that holds true if the field's value and the value of property fieldrightare equal. -
lt
Create a predicate that holds true if the field's value is strictly less than constant valueright. -
lt
Create a predicate that holds true if the field's value is strictly less than the value of property fieldright. -
le
Create a predicate that holds true if the field's value is less than constant valuerightor equal to it. -
le
Create a predicate that holds true if the field's value is less than the value of property fieldrightor equal to it. -
gt
Create a predicate that holds true if the field's value is strictly greater than constant valueright. -
gt
Create a predicate that holds true if the field's value is strictly greater than the value of property fieldright. -
ge
Create a predicate that holds true if the field's value is greater than constant valuerightor equal to it. -
ge
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.
-