ENTITY
- the entity typeD
- the database typeFK_ENTITY
- the foreign entity typepublic interface StringForeignKeyField<ENTITY,D,FK_ENTITY> extends StringField<ENTITY,D>, HasNullableFinder<ENTITY,FK_ENTITY>
StringField
,
HasFinder
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D,FK> |
create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,String> getter,
ReferenceSetter<ENTITY,String> setter,
StringField<FK,D> referenced,
TypeMapper<D,String> typeMapper,
boolean unique)
Creates a new
StringForeignKeyField using the default
implementation. |
apply, create, isNotNull, isNull
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
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
nullableFinder
backwardFinder, finder, getReferencedField
static <ENTITY,D,FK> StringForeignKeyField<ENTITY,D,FK> create(ColumnIdentifier<ENTITY> identifier, ReferenceGetter<ENTITY,String> getter, ReferenceSetter<ENTITY,String> setter, StringField<FK,D> referenced, TypeMapper<D,String> typeMapper, boolean unique)
StringForeignKeyField
using the default
implementation.ENTITY
- entity typeD
- database typeFK
- foreign entity typeidentifier
- column that this field representsgetter
- method reference to the getter in the entitysetter
- method reference to the setter in the entityreferenced
- field in the foreign entity that is referencedtypeMapper
- type mapper that is appliedunique
- represented column only contains unique valuesCopyright © 2018 Speedment, Inc.. All rights reserved.