diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java @ 1059:fdb0f4ef96f0

Made FLYS artifacts cloneable. flys-artifacts/trunk@2531 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 23 Aug 2011 11:07:21 +0000
parents 9a77a9adbb36
children b1b0a0b61845
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Tue Aug 23 07:53:41 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Tue Aug 23 11:07:21 2011 +0000
@@ -29,8 +29,7 @@
  */
 public class MainValuesArtifact
 extends      StaticFLYSArtifact
-implements   Facet {
-
+{
     /** The logger for this class. */
     private static Logger logger = Logger.getLogger(WINFOArtifact.class);
 
@@ -54,7 +53,6 @@
         Document        data)
     {
         logger.warn("MainValuesArtifact.setup");
-        ; 
     }
 
     /**
@@ -180,65 +178,4 @@
             // state is not valid, so we do not append its outputs.
         }
     }
-
-
-    /* FACET IMPLEMENTATION  */
-
-
-    // TODO implement; what is index used for?
-    /**
-     * Returns the index of this facet.
-     *
-     * @return the index of this facet.
-     */
-    public int getIndex() {
-        return 0;
-    }
-
-
-    /**
-     * Returns the name of this facet.
-     *
-     * @return the name of this facet.
-     */
-    public String getName() {
-        // TODO define, static
-        return "FACETNAME";
-    }
-
-
-    /**
-     * Returns the description of this facet.
-     *
-     * @return the description of this facet.
-     */
-    public String getDescription() {
-        return null;
-    }
-
-
-    /**
-     * Returns the data this facet requires.
-     *
-     * @param artifact The owner artifact.
-     * @param context The CallContext.
-     *
-     * @return the data.
-     */
-    public Object getData(Artifact artifact, CallContext context) {
-        return null;
-    }
-
-
-    /**
-     * Write the internal representation of a facet to a node.
-     *
-     * @param doc A Document.
-     *
-     * @return the representation as Node.
-     */
-    public Node toXML(Document doc) {
-        return null;
-    }
- 
 }

http://dive4elements.wald.intevation.org