View Javadoc
1   package fr.ifremer.reefdb.ui.swing.content.observation.shared;
2   
3   /*
4    * #%L
5    * Reef DB :: 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.reefdb.dto.data.sampling.SamplingOperationDTO;
27  import fr.ifremer.reefdb.dto.referential.TaxonDTO;
28  import fr.ifremer.reefdb.dto.referential.TaxonGroupDTO;
29  
30  /**
31   * Bean used to set filter on grouped measurement
32   * <p/>
33   * Created by Ludovic on 12/06/2015.
34   */
35  public class MeasurementsFilter {
36  
37      private SamplingOperationDTO samplingOperation;
38      private TaxonGroupDTO taxonGroup;
39      private TaxonDTO taxon;
40  
41      /**
42       * <p>Getter for the field <code>samplingOperation</code>.</p>
43       *
44       * @return a {@link fr.ifremer.reefdb.dto.data.sampling.SamplingOperationDTO} object.
45       */
46      public SamplingOperationDTO getSamplingOperation() {
47          return samplingOperation;
48      }
49  
50      /**
51       * <p>Setter for the field <code>samplingOperation</code>.</p>
52       *
53       * @param samplingOperation a {@link fr.ifremer.reefdb.dto.data.sampling.SamplingOperationDTO} object.
54       */
55      public void setSamplingOperation(SamplingOperationDTO samplingOperation) {
56          this.samplingOperation = samplingOperation;
57      }
58  
59      /**
60       * <p>Getter for the field <code>taxonGroup</code>.</p>
61       *
62       * @return a {@link fr.ifremer.reefdb.dto.referential.TaxonGroupDTO} object.
63       */
64      public TaxonGroupDTO getTaxonGroup() {
65          return taxonGroup;
66      }
67  
68      /**
69       * <p>Setter for the field <code>taxonGroup</code>.</p>
70       *
71       * @param taxonGroup a {@link fr.ifremer.reefdb.dto.referential.TaxonGroupDTO} object.
72       */
73      public void setTaxonGroup(TaxonGroupDTO taxonGroup) {
74          this.taxonGroup = taxonGroup;
75      }
76  
77      /**
78       * <p>Getter for the field <code>taxon</code>.</p>
79       *
80       * @return a {@link fr.ifremer.reefdb.dto.referential.TaxonDTO} object.
81       */
82      public TaxonDTO getTaxon() {
83          return taxon;
84      }
85  
86      /**
87       * <p>Setter for the field <code>taxon</code>.</p>
88       *
89       * @param taxon a {@link fr.ifremer.reefdb.dto.referential.TaxonDTO} object.
90       */
91      public void setTaxon(TaxonDTO taxon) {
92          this.taxon = taxon;
93      }
94  }