1 package fr.ifremer.dali.ui.swing.content.manage.filter; 2 3 /* 4 * #%L 5 * Dali :: UI 6 * $Id:$ 7 * $HeadURL:$ 8 * %% 9 * Copyright (C) 2014 - 2015 Ifremer 10 * %% 11 * This program is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Affero General Public License as published by 13 * the Free Software Foundation, either version 3 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU Affero General Public License 22 * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 * #L% 24 */ 25 26 import fr.ifremer.dali.ui.swing.content.manage.filter.element.FilterElementUIModel; 27 import fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListRowModel; 28 import fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListUIModel; 29 import fr.ifremer.quadrige3.ui.swing.model.AbstractEmptyUIModel; 30 31 /** 32 * Model. 33 */ 34 public class FilterUIModel extends AbstractEmptyUIModel<FilterUIModel> { 35 36 private FilterListRowModel selectedFilter; 37 38 private FilterListUIModel filterListUIModel; 39 private FilterElementUIModel filterElementUIModel; 40 41 /** 42 * <p>Getter for the field <code>selectedFilter</code>.</p> 43 * 44 * @return a {@link fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListRowModel} object. 45 */ 46 public FilterListRowModel getSelectedFilter() { 47 return selectedFilter; 48 } 49 50 /** 51 * <p>Setter for the field <code>selectedFilter</code>.</p> 52 * 53 * @param selectedFilter a {@link fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListRowModel} object. 54 */ 55 public void setSelectedFilter(FilterListRowModel selectedFilter) { 56 this.selectedFilter = selectedFilter; 57 } 58 59 /** 60 * <p>Getter for the field <code>filterListUIModel</code>.</p> 61 * 62 * @return a {@link fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListUIModel} object. 63 */ 64 public FilterListUIModel getFilterListUIModel() { 65 return filterListUIModel; 66 } 67 68 /** 69 * <p>Setter for the field <code>filterListUIModel</code>.</p> 70 * 71 * @param filterListUIModel a {@link fr.ifremer.dali.ui.swing.content.manage.filter.list.FilterListUIModel} object. 72 */ 73 public void setFilterListUIModel(FilterListUIModel filterListUIModel) { 74 this.filterListUIModel = filterListUIModel; 75 } 76 77 /** 78 * <p>Getter for the field <code>filterElementUIModel</code>.</p> 79 * 80 * @return a {@link fr.ifremer.dali.ui.swing.content.manage.filter.element.FilterElementUIModel} object. 81 */ 82 public FilterElementUIModel getFilterElementUIModel() { 83 return filterElementUIModel; 84 } 85 86 /** 87 * <p>Setter for the field <code>filterElementUIModel</code>.</p> 88 * 89 * @param filterElementUIModel a {@link fr.ifremer.dali.ui.swing.content.manage.filter.element.FilterElementUIModel} object. 90 */ 91 public void setFilterElementUIModel(FilterElementUIModel filterElementUIModel) { 92 this.filterElementUIModel = filterElementUIModel; 93 } 94 }