Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/IdPair.java @ 4075:dbd0b3b1b8b8
Sync each river.
flys-aft/trunk@3419 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 14 Dec 2011 17:53:15 +0000 |
parents | |
children | a310aceb2e51 |
comparison
equal
deleted
inserted
replaced
4074:100c4e0a45e1 | 4075:dbd0b3b1b8b8 |
---|---|
1 package de.intevation.aft; | |
2 | |
3 public class IdPair | |
4 { | |
5 protected int id1; | |
6 protected int id2; | |
7 | |
8 public IdPair() { | |
9 } | |
10 | |
11 public IdPair(int id1, int id2) { | |
12 this.id1 = id1; | |
13 this.id2 = id2; | |
14 } | |
15 | |
16 public int getId1() { | |
17 return id1; | |
18 } | |
19 | |
20 public void setId1(int id1) { | |
21 this.id1 = id1; | |
22 } | |
23 | |
24 public int getId2() { | |
25 return id2; | |
26 } | |
27 | |
28 public void setId2(int id2) { | |
29 this.id2 = id2; | |
30 } | |
31 | |
32 public String toString() { | |
33 return "[IdPair: id1=" + id1 + ", id2=" + id2 + "]"; | |
34 } | |
35 } | |
36 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |