diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java @ 1061:b1b0a0b61845

Made facets cloneable with the right type. flys-artifacts/trunk@2533 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 23 Aug 2011 13:17:21 +0000
parents 759808931a2e
children
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java	Tue Aug 23 13:05:54 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java	Tue Aug 23 13:17:21 2011 +0000
@@ -1,11 +1,22 @@
 package de.intevation.flys.artifacts.model;
 
 import de.intevation.artifactdatabase.state.DefaultFacet;
+import de.intevation.artifactdatabase.state.Facet;
 
 public class WSPLGENFacet extends DefaultFacet {
 
+    public WSPLGENFacet() {
+    }
+
     public WSPLGENFacet(int idx, String name, String description) {
         super(idx, name, description);
     }
+
+    @Override 
+    public Facet deepCopy() {
+        WSPLGENFacet copy = new WSPLGENFacet();
+        copy.set(this);
+        return copy;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org