Merge pull request #2330 from FOCONIS/pr/enh/sort_order_in_bean_state

Make getSortOrder accessible in BeanState API
This commit is contained in:
Rob Bygrave
2021-08-25 10:36:29 +12:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -118,4 +118,9 @@ public interface BeanState {
*/
@Nullable
Map<String, Exception> getLoadErrors();
/**
* Return the sort order value for an order column.
*/
int getSortOrder();
}
@@ -94,4 +94,8 @@ public final class DefaultBeanState implements BeanState {
return intercept.getLoadErrors();
}
@Override
public int getSortOrder() {
return intercept.getSortOrder();
}
}