class AssociateDataFileBean implements Serializable {

    public void setSelectionModel(DualListModel<DataFile> selectionModel) {
        if (selectionModel != null && (!selectionModel.getSource().isEmpty() || !selectionModel.getTarget().isEmpty())) {
            this.selectionModel = selectionModel;
        }
    }

}