ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface IntField<ENTITY,D> extends Field<ENTITY>, HasIntValue<ENTITY,D>, HasComparableOperators<ENTITY,Integer>, ToInt<ENTITY>
int
value.
Generated by com.speedment.sources.pattern.FieldPatternReferenceField
Modifier and Type | Method and Description |
---|---|
default int |
applyAsInt(ENTITY entity) |
static <ENTITY,D> IntField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
IntGetter<ENTITY> getter,
IntSetter<ENTITY> setter,
TypeMapper<D,Integer> typeMapper,
boolean unique)
Creates a new
IntField using the default implementation. |
IntField<ENTITY,D> |
tableAlias(String tableAlias)
Creates and returns a new Field with the provided
tableAlias . |
getAsInt, getter, set, setter, setTo, typeMapper
between, between, comparator, comparatorNullFieldsFirst, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
isUnique, tableAlias
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, reverseOrder
static <ENTITY,D> IntField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, IntGetter<ENTITY> getter, IntSetter<ENTITY> setter, TypeMapper<D,Integer> typeMapper, boolean unique)
IntField
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 valuesIntField<ENTITY,D> tableAlias(String tableAlias)
Field
tableAlias
. The new Field
will retain all other properties from this field except the tableAlias.tableAlias
in interface Field<ENTITY>
tableAlias
default int applyAsInt(ENTITY entity)
applyAsInt
in interface ToInt<ENTITY>
applyAsInt
in interface ToIntFunction<ENTITY>
Copyright © 2018 Speedment, Inc.. All rights reserved.