ENTITY
- the entity typeD
- the database typeV
- the field value typepublic interface ReferenceField<ENTITY,D,V> extends Field<ENTITY>, HasReferenceOperators<ENTITY>, HasReferenceValue<ENTITY,D,V>
Field
,
HasReferenceOperators
,
HasReferenceValue
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D,V> |
create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ReferenceField using the default implementation. |
isNotNull, isNull
get, getter, set, setter, setTo, typeMapper
findColumn, identifier
static <ENTITY,D,V> ReferenceField<ENTITY,D,V> create(ColumnIdentifier<ENTITY> identifier, ReferenceGetter<ENTITY,V> getter, ReferenceSetter<ENTITY,V> setter, TypeMapper<D,V> typeMapper, boolean unique)
ReferenceField
using the default implementation.ENTITY
- the entity typeD
- the database typeV
- the field value 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 valuesCopyright © 2017 Speedment, Inc.. All rights reserved.