View Javadoc
1   package fr.ifremer.tutti.service.genericformat;
2   
3   /*
4    * #%L
5    * Tutti :: Service
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2012 - 2015 Ifremer
10   * %%
11   * This program is free software: you can redistribute it and/or modify
12   * it under the terms of the GNU General Public License as
13   * published by the Free Software Foundation, either version 3 of the
14   * License, or (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 General Public
22   * License along with this program.  If not, see
23   * <http://www.gnu.org/licenses/gpl-3.0.html>.
24   * #L%
25   */
26  
27  import fr.ifremer.tutti.persistence.model.ProgramDataModel;
28  
29  import java.io.File;
30  import java.io.Serializable;
31  
32  /**
33   * Created on 3/28/15.
34   *
35   * @author Tony Chemit - chemit@codelutin.com
36   * @since 3.14.3
37   */
38  public class GenericFormatExportConfiguration implements Serializable {
39  
40      private static final long serialVersionUID = -6500054741804757627L;
41  
42      /**
43       * Data to export.
44       */
45      private ProgramDataModel dataToExport;
46  
47      /**
48       * Archive file to produce.
49       */
50      private File exportFile;
51  
52      /**
53       * Should we export attachments ?
54       */
55      private boolean exportAttachments;
56  
57      /**
58       * Should we export species batches ?
59       */
60      private boolean exportSpecies;
61  
62      /**
63       * Should we export benthos batches ?
64       */
65      private boolean exportBenthos;
66  
67      /**
68       * Should we export marine litter batches ?
69       */
70      private boolean exportMarineLitter;
71  
72      /**
73       * Should we export accidental catches ?
74       */
75      private boolean exportAccidentalCatch;
76  
77      /**
78       * Should we export individual observations ?
79       */
80      private boolean exportIndividualObservation;
81  
82      public ProgramDataModel getDataToExport() {
83          return dataToExport;
84      }
85  
86      public void setDataToExport(ProgramDataModel dataToExport) {
87          this.dataToExport = dataToExport;
88      }
89  
90      public boolean isExportAttachments() {
91          return exportAttachments;
92      }
93  
94      public void setExportAttachments(boolean exportAttachments) {
95          this.exportAttachments = exportAttachments;
96      }
97  
98      public File getExportFile() {
99          return exportFile;
100     }
101 
102     public void setExportFile(File exportFile) {
103         this.exportFile = exportFile;
104     }
105 
106     public void setExportSpecies(boolean exportSpecies) {
107         this.exportSpecies = exportSpecies;
108     }
109 
110     public boolean isExportSpecies() {
111         return exportSpecies;
112     }
113 
114     public void setExportBenthos(boolean exportBenthos) {
115         this.exportBenthos = exportBenthos;
116     }
117 
118     public boolean isExportBenthos() {
119         return exportBenthos;
120     }
121 
122     public void setExportMarineLitter(boolean exportMarineLitter) {
123         this.exportMarineLitter = exportMarineLitter;
124     }
125 
126     public boolean isExportMarineLitter() {
127         return exportMarineLitter;
128     }
129 
130     public void setExportAccidentalCatch(boolean exportAccidentalCatch) {
131         this.exportAccidentalCatch = exportAccidentalCatch;
132     }
133 
134     public boolean isExportAccidentalCatch() {
135         return exportAccidentalCatch;
136     }
137 
138     public void setExportIndividualObservation(boolean exportIndividualObservation) {
139         this.exportIndividualObservation = exportIndividualObservation;
140     }
141 
142     public boolean isExportIndividualObservation() {
143         return exportIndividualObservation;
144     }
145 
146 }