diff artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Facet.java @ 488:83ee2c6a53b6

Add boundToOut property to facet and default facet This allows a facet to know for which out it should be relevant
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 31 May 2013 14:59:39 +0200
parents 415df0fc4fa1
children 97dc9b8ae68a
line wrap: on
line diff
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Facet.java	Tue May 28 16:01:44 2013 +0200
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Facet.java	Fri May 31 14:59:39 2013 +0200
@@ -30,6 +30,17 @@
      */
     String getName();
 
+    /**
+     * Returns the name of the out this facet is bound to.
+     *
+     * @return the name of the out this facet is bound to.
+     */
+    String getBoundToOut();
+
+    /**
+     * Binds this facet to an out.
+     */
+    void setBoundToOut(String value);
 
     /**
      * Returns the description of this facet.

http://dive4elements.wald.intevation.org