CHILD - The child entity typePARENT - The parent entity typeCHILDBUILDER - The class used to construct new CHILD instancesPARENTBUILDER - The class used to construct new PARENT instancespublic interface ParentColumn<CHILD,PARENT,CHILDBUILDER,PARENTBUILDER> extends Column<CHILD,CHILDBUILDER>
Most users of hrorm will have no need to directly use this.
| Modifier and Type | Method and Description | 
|---|---|
| Long | getParentId(CHILD child) | 
| default boolean | isParentColumn()Flag indicating whether this column represents a reference to a parent entity. | 
| void | setParentPrimaryKey(PrimaryKey<PARENT,PARENTBUILDER> parentPrimaryKey) | 
| BiConsumer<CHILDBUILDER,PARENT> | setter() | 
getName, getPrefix, isNullable, isPrimaryKey, notNull, populate, setValue, supportedTypes, withPrefixvoid setParentPrimaryKey(PrimaryKey<PARENT,PARENTBUILDER> parentPrimaryKey)
BiConsumer<CHILDBUILDER,PARENT> setter()
default boolean isParentColumn()
ColumnisParentColumn in interface Column<CHILD,CHILDBUILDER>Copyright © 2019. All rights reserved.