diff artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java @ 358:03a8f9796571

Added interfaces for a Settings hierachy currently used for Outputs. artifacts/trunk@3408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 14 Dec 2011 09:41:44 +0000
parents a8e009ebe13c
children b47d0464f0db
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java	Fri Dec 09 16:03:19 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java	Wed Dec 14 09:41:44 2011 +0000
@@ -20,6 +20,8 @@
 
     protected List<Facet> facets;
 
+    protected Settings settings;
+
 
     /**
      * The default constructor that instantiates a new DefaultOutput object.
@@ -137,5 +139,17 @@
     public void addFacets(List<Facet> facets) {
         this.facets.addAll(facets);
     }
+
+
+    @Override
+    public void setSettings(Settings settings) {
+        this.settings = settings;
+    }
+
+
+    @Override
+    public Settings getSettings() {
+        return settings;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org