Modifier and Type | Interface and Description |
---|---|
interface |
ParentColumn<CHILD,PARENT,CHILDBUILDER,PARENTBUILDER>
Represents a reference from a child entity to its parent.
|
interface |
PrimaryKey<ENTITY,BUILDER>
Representation of the column that holds the primary key for the entity.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnImpl<DBTYPE,CLASSTYPE,ENTITY,BUILDER>
A basic implementation of the
Column interface for data elements. |
class |
DirectPrimaryKey<ENTITY>
Primary key for an entity whose construction is direct, i.e.
|
class |
IndirectPrimaryKey<ENTITY,BUILDER>
Primary key for an entity whose construction is indirect, i.e.
|
class |
JoinColumn<ENTITY,JOINED,ENTITYBUILDER,JOINEDBUILDER>
Represents a column that links to a foreign key of some
other entity.
|
class |
NoBackReferenceParentColumn<ENTITY,PARENT,BUILDER,PARENTBUILDER>
Represents a reference from a child entity to its parent where the
child class has no reference to the parent.
|
class |
ParentColumnImpl<CHILD,PARENT,CHILDBUILDER,PARENTBUILDER>
Represents a reference from a child entity to its parent where
the child class has a pointer back to the parent.
|
Modifier and Type | Method and Description |
---|---|
static <ENTITY,BUILDER> |
DataColumnFactory.bigDecimalColumn(String name,
String prefix,
Function<ENTITY,BigDecimal> getter,
BiConsumer<BUILDER,BigDecimal> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
DataColumnFactory.booleanColumn(String name,
String prefix,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter,
boolean nullable) |
Column<?,?,ENTITY,BUILDER> |
ColumnCollection.columnByName(String name) |
static <DBTYPE,CLASSTYPE,ENTITY,BUILDER> |
DataColumnFactory.convertedGenericColumn(String name,
String prefix,
Function<ENTITY,CLASSTYPE> getter,
BiConsumer<BUILDER,CLASSTYPE> setter,
GenericColumn<DBTYPE> genericColumn,
Converter<CLASSTYPE,DBTYPE> converter,
boolean nullable) |
static <T,E,B> Column<T,T,E,B> |
ColumnImpl.directColumn(GenericColumn<T> genericColumn,
String prefix,
String name,
Function<E,T> getter,
BiConsumer<B,T> setter,
String sqlTypeName,
boolean nullable) |
static <TYPE,ENTITY,BUILDER> |
DataColumnFactory.genericColumn(String name,
String prefix,
Function<ENTITY,TYPE> getter,
BiConsumer<BUILDER,TYPE> setter,
GenericColumn<TYPE> genericColumn,
boolean nullable) |
Column<?,?,ENTITY,BUILDER> |
ColumnSelection.get(String columnName) |
static <ENTITY,BUILDER> |
DataColumnFactory.instantColumn(String name,
String prefix,
Function<ENTITY,Instant> getter,
BiConsumer<BUILDER,Instant> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
DataColumnFactory.longBackedBooleanColumn(String name,
String prefix,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
DataColumnFactory.longColumn(String name,
String prefix,
Function<ENTITY,Long> getter,
BiConsumer<BUILDER,Long> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
DataColumnFactory.stringColumn(String name,
String prefix,
Function<ENTITY,String> getter,
BiConsumer<BUILDER,String> setter,
boolean nullable) |
static <TYPE,ENTITY,BUILDER> |
DataColumnFactory.stringConverterColumn(String name,
String prefix,
Function<ENTITY,TYPE> getter,
BiConsumer<BUILDER,TYPE> setter,
Converter<TYPE,String> converter,
boolean nullable) |
static <ENTITY,BUILDER> |
DataColumnFactory.textBackedBooleanColumn(String name,
String prefix,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter,
boolean nullable) |
Column<Long,Long,ENTITY,ENTITY> |
DirectPrimaryKey.withPrefix(String newPrefix,
Prefixer prefixer) |
Column<DBTYPE,CLASSTYPE,ENTITY,BUILDER> |
Column.withPrefix(String newPrefix,
Prefixer prefixer)
Make a new instance of the column, identical to this instance, except with a
new prefix.
|
Column<Long,Long,ENTITY,BUILDER> |
IndirectPrimaryKey.withPrefix(String newPrefix,
Prefixer prefixer) |
Column<Long,Long,ENTITY,BUILDER> |
NoBackReferenceParentColumn.withPrefix(String newPrefix,
Prefixer prefixer) |
Column<DBTYPE,CLASSTYPE,ENTITY,BUILDER> |
ColumnImpl.withPrefix(String newPrefix,
Prefixer prefixer) |
Column<Long,Long,CHILD,CHILDBUILDER> |
ParentColumnImpl.withPrefix(String prefix,
Prefixer prefixer) |
Modifier and Type | Method and Description |
---|---|
default List<Column<?,?,ENTITY,ENTITYBUILDER>> |
KeylessDaoDescriptor.allColumns()
All the columns of the underlying table, both data type and join type.
|
List<Column<?,?,ENTITY,BUILDER>> |
ColumnCollection.allColumns() |
static <E,B> List<Column<?,?,E,B>> |
ColumnCollection.allColumns(List<Column<?,?,E,B>> nonJoinColumns,
List<JoinColumn<E,?,B,?>> joinColumns) |
default List<Column<?,?,ENTITY,ENTITYBUILDER>> |
KeylessDaoDescriptor.dataColumns()
The columns that contain the data that make up the object
|
List<Column<?,?,ENTITY,BUILDER>> |
ColumnCollection.getDataColumns() |
List<Column<?,?,JOINED,JOINEDBUILDER>> |
JoinColumn.getNonJoinColumns() |
default List<Column<?,?,ENTITY,ENTITYBUILDER>> |
KeylessDaoDescriptor.nonJoinColumns()
All the columns in the DAO, except those that represent joins
to other entities, including primary key and parent column.
|
List<Column<?,?,ENTITY,BUILDER>> |
ColumnCollection.nonJoinColumns() |
static <E,B> List<Column<?,?,E,B>> |
ColumnCollection.nonJoinColumns(PrimaryKey<E,B> primaryKey,
ParentColumn<E,?,B,?> parentColumn,
List<Column<?,?,E,B>> dataColumns) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnCollection.addDataColumn(Column<?,?,ENTITY,BUILDER> dataColumn) |
Modifier and Type | Method and Description |
---|---|
static <E,B> List<Column<?,?,E,B>> |
ColumnCollection.allColumns(List<Column<?,?,E,B>> nonJoinColumns,
List<JoinColumn<E,?,B,?>> joinColumns) |
static <E,B> List<Column<?,?,E,B>> |
ColumnCollection.nonJoinColumns(PrimaryKey<E,B> primaryKey,
ParentColumn<E,?,B,?> parentColumn,
List<Column<?,?,E,B>> dataColumns) |
Constructor and Description |
---|
ColumnCollection(PrimaryKey<ENTITY,BUILDER> primaryKey,
ParentColumn<ENTITY,?,BUILDER,?> parentColumn,
List<Column<?,?,ENTITY,BUILDER>> dataColumns,
List<JoinColumn<ENTITY,?,BUILDER,?>> joinColumns) |
ColumnSelection(List<Column<?,?,ENTITY,BUILDER>> allColumns,
String... columnNames) |
Copyright © 2019. All rights reserved.