public class ColumnCollection<ENTITY,BUILDER> extends Object
Most users of hrorm will have no need to directly use this.
Constructor and Description |
---|
ColumnCollection() |
ColumnCollection(PrimaryKey<ENTITY,BUILDER> primaryKey,
ParentColumn<ENTITY,?,BUILDER,?> parentColumn,
List<Column<?,?,ENTITY,BUILDER>> dataColumns,
List<JoinColumn<ENTITY,?,BUILDER,?>> joinColumns) |
public ColumnCollection()
public ColumnCollection(PrimaryKey<ENTITY,BUILDER> primaryKey, ParentColumn<ENTITY,?,BUILDER,?> parentColumn, List<Column<?,?,ENTITY,BUILDER>> dataColumns, List<JoinColumn<ENTITY,?,BUILDER,?>> joinColumns)
public void addJoinColumn(JoinColumn<ENTITY,?,BUILDER,?> joinColumn)
public PrimaryKey<ENTITY,BUILDER> getPrimaryKey()
public void setPrimaryKey(PrimaryKey<ENTITY,BUILDER> primaryKey)
public ParentColumn<ENTITY,?,BUILDER,?> getParentColumn()
public void setParentColumn(ParentColumn<ENTITY,?,BUILDER,?> parentColumn)
public List<JoinColumn<ENTITY,?,BUILDER,?>> getJoinColumns()
public void setLastColumnAddedNotNull()
public void setLastColumnSqlTypeName(String sqlTypeName)
public static <E,B> List<Column<?,?,E,B>> allColumns(List<Column<?,?,E,B>> nonJoinColumns, List<JoinColumn<E,?,B,?>> joinColumns)
public static <E,B> List<Column<?,?,E,B>> nonJoinColumns(PrimaryKey<E,B> primaryKey, ParentColumn<E,?,B,?> parentColumn, List<Column<?,?,E,B>> dataColumns)
public void addUniquenConstraint(String... constraintColumnNames)
public Map<String,ChildSelectStrategy> joinedSelectStrategies()
Copyright © 2019. All rights reserved.