comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java @ 3028:77b5f5a26700

Added facets for fix analysis. flys-artifacts/trunk@4597 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 06 Jun 2012 08:07:32 +0000
parents
children b388d888330d
comparison
equal deleted inserted replaced
3027:52aac4941d2a 3028:77b5f5a26700
1 package de.intevation.flys.artifacts.model.fixings;
2
3 import org.apache.log4j.Logger;
4
5 import de.intevation.artifacts.Artifact;
6 import de.intevation.artifacts.CallContext;
7
8 import de.intevation.flys.artifacts.FLYSArtifact;
9 import de.intevation.flys.artifacts.model.FacetTypes;
10 import de.intevation.flys.artifacts.model.DataFacet;
11
12 import de.intevation.flys.artifacts.states.DefaultState.ComputeType;
13
14
15 /**
16 * Facet to show the outliers in a fix calculation.
17 *
18 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
19 */
20 public class FixOutlierFacet
21 extends DataFacet
22 implements FacetTypes {
23
24 /** House logger. */
25 private static Logger logger = Logger.getLogger(FixOutlierFacet.class);
26
27 /** Trivial Constructor. */
28 public FixOutlierFacet() {
29 }
30
31
32 /**
33 * @param name
34 */
35 public FixOutlierFacet(String description) {
36 super(0, FIX_OUTLIER, description, ComputeType.ADVANCE, null, null);
37 }
38
39
40 /**
41 * Returns the data this facet requires.
42 *
43 * @param artifact the owner artifact.
44 * @param context the CallContext (ignored).
45 *
46 * @return the data.
47 */
48 @Override
49 public Object getData(Artifact artifact, CallContext context) {
50 logger.debug("FixOutlierFacet.getData");
51 return null;
52 }
53
54
55 /**
56 * Create a deep copy of this Facet.
57 * @return a deep copy.
58 */
59 @Override
60 public FixOutlierFacet deepCopy() {
61 FixOutlierFacet copy = new FixOutlierFacet();
62 copy.set(this);
63 return copy;
64 }
65 }
66 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org