ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface ByteField<ENTITY,D> extends Field<ENTITY>, HasByteValue<ENTITY,D>, HasComparableOperators<ENTITY,Byte>, ToByte<ENTITY>
byte
value.ReferenceField
Modifier and Type | Method and Description |
---|---|
default byte |
applyAsByte(ENTITY entity)
Applies this function to the given argument.
|
static <ENTITY,D> ByteField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
ByteGetter<ENTITY> getter,
ByteSetter<ENTITY> setter,
TypeMapper<D,Byte> typeMapper,
boolean unique)
Creates a new
ByteField using the default implementation. |
getAsByte, getter, set, setter, setTo, typeMapper
between, between, comparator, comparatorNullFieldsFirst, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn
findColumn, identifier
abs, asDouble, asInt, asLong, compare, compose, divide, divide, divide, divide, divide, divide, expressionType, hash, map, mapToDouble, minus, minus, minus, minus, minus, minus, minus, minus, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, of, plus, plus, plus, plus, plus, plus, plus, plus, pow, pow, pow, pow, sign, sqrt
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
static <ENTITY,D> ByteField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, ByteGetter<ENTITY> getter, ByteSetter<ENTITY> setter, TypeMapper<D,Byte> typeMapper, boolean unique)
ByteField
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 byte applyAsByte(ENTITY entity)
com.speedment.common.function.ToByteFunction
applyAsByte
in interface ToByte<ENTITY>
applyAsByte
in interface com.speedment.common.function.ToByteFunction<ENTITY>
entity
- the argumentCopyright © 2018 Speedment, Inc.. All rights reserved.