ENTITY
- entity typeD
- database type@GeneratedCode(value="Speedment") public interface CharField<ENTITY,D> extends Field<ENTITY>, HasCharValue<ENTITY,D>, HasComparableOperators<ENTITY,Character>, ToChar<ENTITY>
char
value.
Generated by com.speedment.sources.pattern.FieldPatternReferenceField
Modifier and Type | Method and Description |
---|---|
default char |
applyAsChar(ENTITY entity)
Applies this function to the given argument.
|
static <ENTITY,D> CharField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
CharGetter<ENTITY> getter,
CharSetter<ENTITY> setter,
TypeMapper<D,Character> typeMapper,
boolean unique)
Creates a new
CharField using the default implementation. |
CharField<ENTITY,D> |
tableAlias(String tableAlias)
Creates and returns a new Field with the provided
tableAlias . |
getAsChar, 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
asDouble, asInt, asLong, compare, compose, expressionType, hash, map, of, toLowerCase, toUpperCase
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reverseOrder
static <ENTITY,D> CharField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, CharGetter<ENTITY> getter, CharSetter<ENTITY> setter, TypeMapper<D,Character> typeMapper, boolean unique)
CharField
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 valuesCharField<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 char applyAsChar(ENTITY entity)
com.speedment.common.function.ToCharFunction
applyAsChar
in interface com.speedment.common.function.ToCharFunction<ENTITY>
entity
- the argumentCopyright © 2018 Speedment, Inc.. All rights reserved.