ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface BooleanField<ENTITY,D> extends Field<ENTITY>, HasBooleanValue<ENTITY,D>, ToBoolean<ENTITY>, HasBooleanOperators<ENTITY>
boolean
value.ReferenceField
Modifier and Type | Method and Description |
---|---|
default boolean |
applyAsBoolean(ENTITY entity)
Applies this function to the given argument.
|
static <ENTITY,D> BooleanField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
BooleanGetter<ENTITY> getter,
BooleanSetter<ENTITY> setter,
TypeMapper<D,Boolean> typeMapper,
boolean unique)
Creates a new
BooleanField using the default implementation. |
getAsBoolean, getter, set, setter, setTo, typeMapper
asDouble, asInt, asLong, compare, compose, expressionType, hash, map, mapToDouble, of
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
equal, isFalse, isTrue, notEqual
findColumn, identifier
static <ENTITY,D> BooleanField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, BooleanGetter<ENTITY> getter, BooleanSetter<ENTITY> setter, TypeMapper<D,Boolean> typeMapper, boolean unique)
BooleanField
using the default implementation.ENTITY
- entity typeD
- database typeidentifier
- column that this field representsgetter
- method reference to getter in entitysetter
- method reference to setter in entitytypeMapper
- type mapper that is appliedunique
- if column only contains unique valuesdefault boolean applyAsBoolean(ENTITY entity)
com.speedment.common.function.ToBooleanFunction
applyAsBoolean
in interface ToBoolean<ENTITY>
applyAsBoolean
in interface com.speedment.common.function.ToBooleanFunction<ENTITY>
entity
- the argumentCopyright © 2018 Speedment, Inc.. All rights reserved.