Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/AreaCreationState.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 | 4897a58c8746 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
16 | 16 |
17 import org.dive4elements.river.artifacts.model.AreaFacet; | 17 import org.dive4elements.river.artifacts.model.AreaFacet; |
18 | 18 |
19 import org.dive4elements.artifactdatabase.state.Facet; | 19 import org.dive4elements.artifactdatabase.state.Facet; |
20 | 20 |
21 import org.dive4elements.river.artifacts.FLYSArtifact; | 21 import org.dive4elements.river.artifacts.D4EArtifact; |
22 import org.dive4elements.river.artifacts.AreaArtifact; | 22 import org.dive4elements.river.artifacts.AreaArtifact; |
23 import org.dive4elements.river.artifacts.model.FacetTypes; | 23 import org.dive4elements.river.artifacts.model.FacetTypes; |
24 | 24 |
25 | 25 |
26 /** Trivial state to create areafacets, no caching. */ | 26 /** Trivial state to create areafacets, no caching. */ |
41 } | 41 } |
42 | 42 |
43 | 43 |
44 /** Just reproduce the Facet. */ | 44 /** Just reproduce the Facet. */ |
45 protected Object compute( | 45 protected Object compute( |
46 FLYSArtifact areaArtifact, | 46 D4EArtifact areaArtifact, |
47 CallContext cc, | 47 CallContext cc, |
48 String hash, | 48 String hash, |
49 List<Facet> facets, | 49 List<Facet> facets, |
50 Object old | 50 Object old |
51 ) { | 51 ) { |
65 | 65 |
66 /** | 66 /** |
67 */ | 67 */ |
68 @Override | 68 @Override |
69 public Object computeFeed( | 69 public Object computeFeed( |
70 FLYSArtifact artifact, | 70 D4EArtifact artifact, |
71 String hash, | 71 String hash, |
72 CallContext context, | 72 CallContext context, |
73 List<Facet> facets, | 73 List<Facet> facets, |
74 Object old | 74 Object old |
75 ) { | 75 ) { |
76 return compute((FLYSArtifact) artifact, context, hash, facets, old); | 76 return compute((D4EArtifact) artifact, context, hash, facets, old); |
77 } | 77 } |
78 | 78 |
79 | 79 |
80 /** | 80 /** |
81 * | 81 * |
82 */ | 82 */ |
83 @Override | 83 @Override |
84 public Object computeAdvance( | 84 public Object computeAdvance( |
85 FLYSArtifact artifact, | 85 D4EArtifact artifact, |
86 String hash, | 86 String hash, |
87 CallContext context, | 87 CallContext context, |
88 List<Facet> facets, | 88 List<Facet> facets, |
89 Object old | 89 Object old |
90 ) { | 90 ) { |
91 return compute((FLYSArtifact) artifact, context, hash, facets, old); | 91 return compute((D4EArtifact) artifact, context, hash, facets, old); |
92 } | 92 } |
93 } | 93 } |
94 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 94 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |