ENTITY
- the entity typeD
- the database typeV
- the field value typepublic interface ComparableField<ENTITY,D,V extends Comparable<? super V>> extends ReferenceField<ENTITY,D,V>, HasComparableOperators<ENTITY,V>
Comparable
.ReferenceField
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D,V extends Comparable<? super V>> |
create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ComparableField using the default implementation. |
isNotNull, isNull
get, getter, set, setter, setTo, typeMapper
findColumn, identifier
between, between, comparator, comparatorNullFieldsFirst, comparatorNullFieldsLast, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn
static <ENTITY,D,V extends Comparable<? super V>> ComparableField<ENTITY,D,V> create(ColumnIdentifier<ENTITY> identifier, ReferenceGetter<ENTITY,V> getter, ReferenceSetter<ENTITY,V> setter, TypeMapper<D,V> typeMapper, boolean unique)
ComparableField
using the default implementation.create
in interface ReferenceField<ENTITY,D,V extends Comparable<? super V>>
ENTITY
- the entity typeD
- the database typeV
- the field value typeidentifier
- the column that this field representsgetter
- method reference to the getter in the entitysetter
- method reference to the setter in the entitytypeMapper
- the type mapper that is appliedunique
- represented column only contains unique valuesCopyright © 2017 Speedment, Inc.. All rights reserved.