View Javadoc
1   package fr.ifremer.quadrige3.core.vo.data.survey;
2   
3   /*-
4    * #%L
5    * Quadrige3 Core :: Quadrige3 Client Core
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2017 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.quadrige3.core.vo.administration.program.ProgramVO;
27  import fr.ifremer.quadrige3.core.vo.referential.monitoringLocation.MonitoringLocationVO;
28  
29  import java.io.Serializable;
30  import java.util.Date;
31  
32  /**
33   * <p>
34   * LightSurveyVO class.
35   * </p>
36   * 
37   */
38  public class LightSurveyVO implements Serializable {
39  
40  	/**
41       *
42       */
43  	private static final long serialVersionUID = 1L;
44  
45  	private int surveyId;
46  
47  	private Date surveyDt;
48  
49  	private ProgramVO[] programs;
50  
51  	private MonitoringLocationVO monitoringLocation;
52  
53  	/**
54  	 * <p>
55  	 * Getter for the field <code>surveyId</code>.
56  	 * </p>
57  	 * 
58  	 * @return a int.
59  	 */
60  	public int getSurveyId() {
61  		return surveyId;
62  	}
63  
64  	/**
65  	 * <p>
66  	 * Setter for the field <code>surveyId</code>.
67  	 * </p>
68  	 * 
69  	 * @param surveyId
70  	 *            a int.
71  	 */
72  	public void setSurveyId(int surveyId) {
73  		this.surveyId = surveyId;
74  	}
75  
76  	/**
77  	 * <p>
78  	 * Getter for the field <code>surveyDt</code>.
79  	 * </p>
80  	 * 
81  	 * @return a {@link java.util.Date} object.
82  	 */
83  	public Date getSurveyDt() {
84  		return surveyDt;
85  	}
86  
87  	/**
88  	 * <p>
89  	 * Setter for the field <code>surveyDt</code>.
90  	 * </p>
91  	 * 
92  	 * @param surveyDt
93  	 *            a {@link java.util.Date} object.
94  	 */
95  	public void setSurveyDt(Date surveyDt) {
96  		this.surveyDt = surveyDt;
97  	}
98  
99  	/**
100 	 * <p>
101 	 * Getter for the field <code>programs</code>.
102 	 * </p>
103 	 * 
104 	 * @return an array of {@link fr.ifremer.quadrige3.core.vo.administration.program.ProgramVO} objects.
105 	 */
106 	public ProgramVO[] getPrograms() {
107 		return programs;
108 	}
109 
110 	/**
111 	 * <p>
112 	 * Setter for the field <code>programs</code>.
113 	 * </p>
114 	 * 
115 	 * @param programs
116 	 *            an array of {@link fr.ifremer.quadrige3.core.vo.administration.program.ProgramVO} objects.
117 	 */
118 	public void setPrograms(ProgramVO[] programs) {
119 		this.programs = programs;
120 	}
121 
122 	/**
123 	 * <p>
124 	 * Getter for the field <code>monitoringLocation</code>.
125 	 * </p>
126 	 * 
127 	 * @return a {@link fr.ifremer.quadrige3.core.vo.referential.monitoringLocation.MonitoringLocationVO} object.
128 	 */
129 	public MonitoringLocationVO getMonitoringLocation() {
130 		return monitoringLocation;
131 	}
132 
133 	/**
134 	 * <p>
135 	 * Setter for the field <code>monitoringLocation</code>.
136 	 * </p>
137 	 * 
138 	 * @param monitoringLocation
139 	 *            a {@link fr.ifremer.quadrige3.core.vo.referential.monitoringLocation.MonitoringLocationVO} object.
140 	 */
141 	public void setMonitoringLocation(MonitoringLocationVO monitoringLocation) {
142 		this.monitoringLocation = monitoringLocation;
143 	}
144 }