ENTITY
- the entity typeD
- the database typeFK_ENTITY
- the foreign entity typepublic interface StringForeignKeyField<ENTITY,D,FK_ENTITY> extends StringField<ENTITY,D>, HasFinder<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. |
create
create
isNotNull, isNull
get, getter, set, setter, setTo, typeMapper
findColumn, identifier
between, between, comparator, comparatorNullFieldsFirst, comparatorNullFieldsLast, equal, greaterOrEqual, greaterThan, in, in, lessOrEqual, lessThan, notBetween, notBetween, notEqual, notIn, notIn
contains, containsIgnoreCase, endsWith, endsWithIgnoreCase, equalIgnoreCase, isEmpty, isNotEmpty, notContains, notContainsIgnoreCase, notEndsWith, notEndsWithIgnoreCase, notEqualIgnoreCase, notStartsWith, notStartsWithIgnoreCase, startsWith, startsWithIgnoreCase
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 © 2017 Speedment, Inc.. All rights reserved.