HHH-10760 Add a getter to Index to expose the columnOrderMap

This commit is contained in:
Guillaume Smet 2016-05-20 22:24:21 +02:00 committed by Andrea Boriero
parent 13b278b663
commit 5a1194d571
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ public class Index implements RelationalModel, Exportable, Serializable {
return columns.iterator();
}
public java.util.Map<Column, String> getColumnOrderMap() {
return Collections.unmodifiableMap( columnOrderMap );
}
public void addColumn(Column column) {
if ( !columns.contains( column ) ) {
columns.add( column );