Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/WMSDBArtifact.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 73da40528cf2 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
29 | 29 |
30 import org.apache.log4j.Logger; | 30 import org.apache.log4j.Logger; |
31 import org.w3c.dom.Document; | 31 import org.w3c.dom.Document; |
32 | 32 |
33 | 33 |
34 public abstract class WMSDBArtifact extends StaticFLYSArtifact { | 34 public abstract class WMSDBArtifact extends StaticD4EArtifact { |
35 | 35 |
36 private static final Logger logger = Logger.getLogger(WMSDBArtifact.class); | 36 private static final Logger logger = Logger.getLogger(WMSDBArtifact.class); |
37 | 37 |
38 @Override | 38 @Override |
39 public void setup( | 39 public void setup( |
99 | 99 |
100 | 100 |
101 public static abstract class WMSDBState extends DefaultState { | 101 public static abstract class WMSDBState extends DefaultState { |
102 private static final Logger logger = Logger.getLogger(WMSDBState.class); | 102 private static final Logger logger = Logger.getLogger(WMSDBState.class); |
103 | 103 |
104 protected FLYSArtifact artifact; | 104 protected D4EArtifact artifact; |
105 | 105 |
106 protected String name; | 106 protected String name; |
107 protected int riverId; | 107 protected int riverId; |
108 | 108 |
109 | 109 |
110 public WMSDBState() {} | 110 public WMSDBState() {} |
111 | 111 |
112 public WMSDBState(FLYSArtifact artifact) { | 112 public WMSDBState(D4EArtifact artifact) { |
113 this.artifact = artifact; | 113 this.artifact = artifact; |
114 this.name = null; | 114 this.name = null; |
115 this.riverId = 0; | 115 this.riverId = 0; |
116 } | 116 } |
117 | 117 |
118 @Override | 118 @Override |
119 public Object computeInit( | 119 public Object computeInit( |
120 FLYSArtifact artifact, | 120 D4EArtifact artifact, |
121 String hash, | 121 String hash, |
122 Object context, | 122 Object context, |
123 CallMeta meta, | 123 CallMeta meta, |
124 List<Facet> facets | 124 List<Facet> facets |
125 ) { | 125 ) { |