/** * Associate an alias on the property key to rename to value. * @param column the column name to rename * @param actualPropertyName then name to rename to match the actual property name * @return the current factory */ public final MF addAlias(String column, String actualPropertyName) { return addColumnDefinition(column, identity.addRename(actualPropertyName)); }
/** * Mark the specified columns as keys. * @param columns the columns * @return the current factory */ public final MF addKeys(String... columns) { for(String col : columns) { addColumnDefinition(col, identity.addKey()); } return (MF) this; }
/** * Mark the specified columns as keys. * @param columns the columns * @return the current factory */ public final MF addKeys(String... columns) { for(String col : columns) { addColumnDefinition(col, identity.addKey()); } return (MF) this; }
/** * Associate an alias on the property key to rename to value. * @param column the column name to rename * @param actualPropertyName then name to rename to match the actual property name * @return the current factory */ public final MF addAlias(String column, String actualPropertyName) { return addColumnDefinition(column, identity.addRename(actualPropertyName)); }