ENTITY
- the entity typeD
- the database typepublic interface StringField<ENTITY,D> extends ComparableField<ENTITY,D,String>, HasStringOperators<ENTITY,D>, ToStringNullable<ENTITY>
ComparableField
,
HasStringOperators
Modifier and Type | Method and Description |
---|---|
default String |
apply(ENTITY object) |
static <ENTITY,D> StringField<ENTITY,D> |
create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,String> getter,
ReferenceSetter<ENTITY,String> setter,
TypeMapper<D,String> typeMapper,
boolean unique)
Creates a new
StringField using the default implementation. |
default FieldIsNotNullPredicate<ENTITY,String> |
isNotNull()
|
FieldIsNullPredicate<ENTITY,String> |
isNull()
|
StringField<ENTITY,D> |
tableAlias(String tableAlias)
Creates and returns a new Field with the provided
tableAlias . |
create
asBigDecimal, asBoolean, asByte, asChar, asDouble, asEnum, asFloat, asInt, asLong, asShort, asString, mapToBigDecimalIfPresent, mapToBooleanIfPresent, mapToByteIfPresent, mapToCharIfPresent, mapToDoubleIfPresent, mapToEnumIfPresent, mapToFloatIfPresent, mapToIntIfPresent, mapToLongIfPresent, mapToShortIfPresent, mapToStringIfPresent
get, getter, set, setter, setTo, typeMapper
isUnique, tableAlias
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
contains, containsIgnoreCase, endsWith, endsWithIgnoreCase, equalIgnoreCase, isEmpty, isNotEmpty, notContains, notContainsIgnoreCase, notEndsWith, notEndsWithIgnoreCase, notEqualIgnoreCase, notStartsWith, notStartsWithIgnoreCase, startsWith, startsWithIgnoreCase
compare, compose, expressionType, hash, of, orElse, orElseGet, orThrow
isNotNull, isNull
static <ENTITY,D> StringField<ENTITY,D> create(ColumnIdentifier<ENTITY> identifier, ReferenceGetter<ENTITY,String> getter, ReferenceSetter<ENTITY,String> setter, TypeMapper<D,String> typeMapper, boolean unique)
StringField
using the default implementation.ENTITY
- the entity typeD
- the database 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 valuesStringField<ENTITY,D> tableAlias(String tableAlias)
Field
tableAlias
. The new Field
will retain all other properties from this field except the tableAlias.tableAlias
in interface ComparableField<ENTITY,D,String>
tableAlias
in interface Field<ENTITY>
tableAlias
in interface ReferenceField<ENTITY,D,String>
tableAlias
FieldIsNullPredicate<ENTITY,String> isNull()
HasReferenceOperators
isNull
in interface HasReferenceOperators<ENTITY>
isNull
in interface ToNullable<ENTITY,String,ToString<ENTITY>>
true
, if and only if
this Field is null
default FieldIsNotNullPredicate<ENTITY,String> isNotNull()
HasReferenceOperators
isNotNull
in interface HasReferenceOperators<ENTITY>
isNotNull
in interface ToNullable<ENTITY,String,ToString<ENTITY>>
true
, if and only if
this Field is not null
Copyright © 2018 Speedment, Inc.. All rights reserved.