/** * Create a new SortableModel from the given instance. * @param model This will be converted into a {@link DataModel} * @see #setWrappedData */ public BaseSortableModel(Object model) { setWrappedData(model); }
/** * Sets the underlying data being managed by this instance. * @param data This Object will be converted into a * {@link DataModel}. */ public void setWrappedData(Object data) { super.setWrappedData(data); setSortCriteria(null); }