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. |
asBigDecimal, asBoolean, asByte, asChar, asDouble, asEnum, asFloat, asInt, asLong, asShort, asString, mapToBigDecimalIfPresent, mapToBooleanIfPresent, mapToByteIfPresent, mapToCharIfPresent, mapToDoubleIfPresent, mapToEnumIfPresent, mapToFloatIfPresent, mapToIntIfPresent, mapToLongIfPresent, mapToShortIfPresent, mapToStringIfPresent
isNotNull, isNull
get, getter, set, setter, setTo, typeMapper
findColumn, identifier
between, between, comparator, comparatorNullFieldsFirst, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
compare
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reverseOrder
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 © 2018 Speedment, Inc.. All rights reserved.