Debian Codegraph @

src/footleg/cavesurvey/data/model/SeriesLink.java

raw symbols SCIP
1 /**
2 * Copyright (C) 2009-2013 Paul Fretwell - aka 'Footleg' ([email protected])
3 *
4 * This file is part of Cave Converter.
5 *
6 * Cave Converter is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Cave Converter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Cave Converter. If not, see <http://www.gnu.org/licenses/>.
18 */
19 package footleg.cavesurvey.data.model;
20
21 /**
22 * Represents a link or join between two survey series. The link specifies a series and
23 * station for each of the two series being joined which are the same point in the cave.
24 * The series link lives in a series which both the linked series are inside (or the
25 * same as).
26 *
27 * @author Footleg
28 * @version 2013.01.20 (ISO 8601 YYYY.MM.DD)
29 * @since 1.6 (The Java version used)
30 *
31 */
32 public class SeriesLink {
33 private String series1;
34 private String series2;
35 private SurveyStation stn2;
36 private SurveyStation stn1;
37
38 public SeriesLink(String series1, SurveyStation stn1, String series2, SurveyStation stn2) {
39 this.series1 = series1;
40 this.series2 = series2;
41 this.stn1 = stn1;
42 this.stn2 = stn2;
43 }
44
45 public String getSeries1() {
46 return series1;
47 }
48
49 public String getSeries2() {
50 return series2;
51 }
52
53 public SurveyStation getStn2() {
54 return stn2;
55 }
56
57 public SurveyStation getStn1() {
58 return stn1;
59 }
60
61 public void setSeries2(String series2) {
62 this.series2 = series2;
63 }
64
65 }