Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/AnnotationArtifact.java @ 8333:be7864b4fabb
Let's be more generous with facet activity of main values.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Fri, 26 Sep 2014 10:50:54 +0200 |
parents | e4606eae8ea5 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8332:3baa6290cebf | 8333:be7864b4fabb |
---|---|
102 CallMeta meta) { | 102 CallMeta meta) { |
103 log.debug("AnnotationArtifact.initialize, id: " | 103 log.debug("AnnotationArtifact.initialize, id: " |
104 + artifact.identifier()); | 104 + artifact.identifier()); |
105 | 105 |
106 D4EArtifact flys = (D4EArtifact) artifact; | 106 D4EArtifact flys = (D4EArtifact) artifact; |
107 // TODO issue880: make annotations available _per type_ | |
108 importData(flys, "river"); | 107 importData(flys, "river"); |
109 | 108 |
110 List<Facet> fs = new ArrayList<Facet>(); | 109 List<Facet> fs = new ArrayList<Facet>(); |
111 | 110 |
112 // TODO Add CallMeta (duplicate TODO in RiverAxisArtifact.java). | |
113 DefaultState state = (DefaultState) getCurrentState(context); | 111 DefaultState state = (DefaultState) getCurrentState(context); |
114 state.computeInit(this, hash(), context, meta, fs); | 112 state.computeInit(this, hash(), context, meta, fs); |
115 | 113 |
116 if (!fs.isEmpty()) { | 114 if (!fs.isEmpty()) { |
117 log.debug("Facets to add in AnnotationsArtifact.initialize ."); | 115 log.debug("Facets to add in AnnotationsArtifact.initialize ."); |