T
- The object representing the enitity being persisted.public interface DaoDescriptor<T>
T
.
Most users of hrorm will have no need to directly use this.
Modifier and Type | Method and Description |
---|---|
default List<TypedColumn<T>> |
allColumns()
All the columns of the underlying table, both data type and join type.
|
List<ChildrenDescriptor<T,?>> |
childrenDescriptors()
The definitions of any entities that are owned by type
T |
default SortedMap<String,TypedColumn<T>> |
columnMap(String... columnNames) |
List<TypedColumn<T>> |
dataColumns()
The columns that contain the data that make up the object
|
List<JoinColumn<T,?>> |
joinColumns()
The columns that contain references to foreign keys to other objects
|
PrimaryKey<T> |
primaryKey()
The primary key for objects of type
T |
Supplier<T> |
supplier()
The mechanism to use to instantiate a new instance of type
T ,
generally a no-argument constructor of the class. |
String |
tableName()
The name of the table that is used to persist type
T |
String tableName()
T
Supplier<T> supplier()
T
,
generally a no-argument constructor of the class.List<TypedColumn<T>> dataColumns()
List<JoinColumn<T,?>> joinColumns()
PrimaryKey<T> primaryKey()
T
List<ChildrenDescriptor<T,?>> childrenDescriptors()
T
default List<TypedColumn<T>> allColumns()
default SortedMap<String,TypedColumn<T>> columnMap(String... columnNames)
Copyright © 2018. All rights reserved.