comparison flys-aft/src/main/java/de/intevation/aft/River.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 039413d7e394
comparison
equal deleted inserted replaced
4074:100c4e0a45e1 4075:dbd0b3b1b8b8
1 package de.intevation.aft;
2
3 import java.sql.SQLException;
4
5 import org.apache.log4j.Logger;
6
7 import de.intevation.db.ConnectedStatements;
8
9 public class River
10 extends IdPair
11 {
12 private static Logger log = Logger.getLogger(River.class);
13
14 protected String name;
15
16 public River() {
17 }
18
19 public River(int id1, int id2, String name) {
20 super(id1, id2);
21 this.name = name;
22 }
23
24 public String getName() {
25 return name;
26 }
27
28 public void sync(
29 ConnectedStatements aftStatements,
30 ConnectedStatements flysStatements
31 )
32 throws SQLException
33 {
34 log.info("sync river: " + this);
35 }
36
37 public String toString() {
38 return "[River: name=" + name + ", " + super.toString() + "]";
39 }
40
41 }
42 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org