Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/SyncContext.java @ 4077:97de7a552b79
Load DIPS XML
flys-aft/trunk@3452 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 16 Dec 2011 16:21:59 +0000 |
parents | |
children | 9178beeb7b05 |
comparison
equal
deleted
inserted
replaced
4076:039413d7e394 | 4077:97de7a552b79 |
---|---|
1 package de.intevation.aft; | |
2 | |
3 import de.intevation.db.ConnectedStatements; | |
4 | |
5 import org.w3c.dom.Document; | |
6 | |
7 public class SyncContext | |
8 { | |
9 protected ConnectedStatements aftStatements; | |
10 protected ConnectedStatements flysStatements; | |
11 protected Document dips; | |
12 | |
13 public SyncContext() { | |
14 } | |
15 | |
16 public SyncContext( | |
17 ConnectedStatements aftStatements, | |
18 ConnectedStatements flysStatements, | |
19 Document dips | |
20 ) { | |
21 this.aftStatements = aftStatements; | |
22 this.flysStatements = flysStatements; | |
23 this.dips = dips; | |
24 } | |
25 | |
26 public ConnectedStatements getAftStatements() { | |
27 return aftStatements; | |
28 } | |
29 | |
30 public void setAftStatements(ConnectedStatements aftStatements) { | |
31 this.aftStatements = aftStatements; | |
32 } | |
33 | |
34 public ConnectedStatements getFlysStatements() { | |
35 return flysStatements; | |
36 } | |
37 | |
38 public void setFlysStatements(ConnectedStatements flysStatements) { | |
39 this.flysStatements = flysStatements; | |
40 } | |
41 | |
42 public Document getDips() { | |
43 return dips; | |
44 } | |
45 | |
46 public void setDips(Document dips) { | |
47 this.dips = dips; | |
48 } | |
49 | |
50 void close() { | |
51 aftStatements.close(); | |
52 flysStatements.close(); | |
53 } | |
54 } | |
55 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | |
56 |