1 package fr.ifremer.quadrige2.core.vo.referential.pmfm;
2
3 /*-
4 * #%L
5 * Quadrige2 Core :: Quadrige2 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 /**
27 * Created by blavenie on 31/08/15.
28 */
29 public class PmfmVO {
30
31 private Integer id;
32
33 private ParameterVO parameter;
34 private MatrixVO matrix;
35 private FractionVO fraction;
36 private MethodVO method;
37 private UnitVO unit;
38
39 /**
40 * <p>
41 * Getter for the field <code>id</code>.
42 * </p>
43 *
44 * @return a {@link java.lang.Integer} object.
45 */
46 public Integer getId() {
47 return id;
48 }
49
50 /**
51 * <p>
52 * Setter for the field <code>id</code>.
53 * </p>
54 *
55 * @param id
56 * a {@link java.lang.Integer} object.
57 */
58 public void setId(Integer id) {
59 this.id = id;
60 }
61
62 /**
63 * <p>
64 * Getter for the field <code>parameter</code>.
65 * </p>
66 *
67 * @return a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.ParameterVO} object.
68 */
69 public ParameterVO getParameter() {
70 return parameter;
71 }
72
73 /**
74 * <p>
75 * Setter for the field <code>parameter</code>.
76 * </p>
77 *
78 * @param parameter
79 * a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.ParameterVO} object.
80 */
81 public void setParameter(ParameterVO parameter) {
82 this.parameter = parameter;
83 }
84
85 /**
86 * <p>
87 * Getter for the field <code>matrix</code>.
88 * </p>
89 *
90 * @return a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.MatrixVO} object.
91 */
92 public MatrixVO getMatrix() {
93 return matrix;
94 }
95
96 /**
97 * <p>
98 * Setter for the field <code>matrix</code>.
99 * </p>
100 *
101 * @param matrix
102 * a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.MatrixVO} object.
103 */
104 public void setMatrix(MatrixVO matrix) {
105 this.matrix = matrix;
106 }
107
108 /**
109 * <p>
110 * Getter for the field <code>fraction</code>.
111 * </p>
112 *
113 * @return a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.FractionVO} object.
114 */
115 public FractionVO getFraction() {
116 return fraction;
117 }
118
119 /**
120 * <p>
121 * Setter for the field <code>fraction</code>.
122 * </p>
123 *
124 * @param fraction
125 * a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.FractionVO} object.
126 */
127 public void setFraction(FractionVO fraction) {
128 this.fraction = fraction;
129 }
130
131 /**
132 * <p>
133 * Getter for the field <code>method</code>.
134 * </p>
135 *
136 * @return a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.MethodVO} object.
137 */
138 public MethodVO getMethod() {
139 return method;
140 }
141
142 /**
143 * <p>
144 * Setter for the field <code>method</code>.
145 * </p>
146 *
147 * @param method
148 * a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.MethodVO} object.
149 */
150 public void setMethod(MethodVO method) {
151 this.method = method;
152 }
153
154 /**
155 * <p>
156 * Getter for the field <code>unit</code>.
157 * </p>
158 *
159 * @return a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.UnitVO} object.
160 */
161 public UnitVO getUnit() {
162 return unit;
163 }
164
165 /**
166 * <p>
167 * Setter for the field <code>unit</code>.
168 * </p>
169 *
170 * @param unit
171 * a {@link fr.ifremer.quadrige2.core.vo.referential.pmfm.UnitVO} object.
172 */
173 public void setUnit(UnitVO unit) {
174 this.unit = unit;
175 }
176 }