Package | Description |
---|---|
com.speedment.runtime.field |
Fields expose handlers for accessing columns in generated classes and are
located in this package.
|
com.speedment.runtime.field.trait |
Traits used in Speedment fields are located in this package.
|
Modifier and Type | Method and Description |
---|---|
static <ENTITY,D,E extends Enum<E>> |
EnumField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,E> getter,
ReferenceSetter<ENTITY,E> setter,
TypeMapper<D,E> typeMapper,
Function<E,String> enumToString,
Function<String,E> stringToEnum,
Class<E> enumClass)
Create a new instance of this interface using the default implementation.
|
static <ENTITY,D,E extends Enum<E>,FK> |
EnumForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,E> getter,
ReferenceSetter<ENTITY,E> setter,
TypeMapper<D,E> typeMapper,
HasComparableOperators<FK,E> referenced,
Function<E,String> enumToString,
Function<String,E> stringToEnum,
Class<E> enumClass)
Create a new instance of this interface using the default implementation.
|
static <ENTITY,D,FK> |
StringForeignKeyField.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. |
static <ENTITY,D> StringField<ENTITY,D> |
StringField.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. |
static <ENTITY,D,V extends Comparable<? super V>,FK> |
ComparableForeignKeyField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
HasComparableOperators<FK,V> referenced,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ComparableField using the default implementation. |
static <ENTITY,D,V> |
ReferenceField.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. |
static <ENTITY,D,V extends Comparable<? super V>> |
ComparableField.create(ColumnIdentifier<ENTITY> identifier,
ReferenceGetter<ENTITY,V> getter,
ReferenceSetter<ENTITY,V> setter,
TypeMapper<D,V> typeMapper,
boolean unique)
Creates a new
ComparableField using the default implementation. |
Modifier and Type | Method and Description |
---|---|
ReferenceSetter<ENTITY,V> |
HasReferenceValue.setter() |
Copyright © 2018 Speedment, Inc.. All rights reserved.