changeset 75:9345835e2bc1

Make the Interfaces Serializable to make them usable in the Artifactdatabase gnv-artifacts/trunk@82 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 14 Sep 2009 13:38:20 +0000
parents 3d73718aa1b8
children 2473440671ce
files gnv-artifacts/Changelog gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java gnv-artifacts/src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/Changelog	Mon Sep 14 10:37:00 2009 +0000
+++ b/gnv-artifacts/Changelog	Mon Sep 14 13:38:20 2009 +0000
@@ -4,6 +4,8 @@
       src/main/java/de/intevation/gnv/transition/InputData.java Edited, 
       src/main/java/de/intevation/gnv/transition/OutputMode.java Edited, 
       src/main/java/de/intevation/gnv/transition/InputValue.java Edited, 
+      src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java Edited,
+      src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java Edited, 
       src/main/java/de/intevation/gnv/transition/describedata/DescribeData.java Edited: 
       Make the Interfaces Serializable to make them usable in the Artifactdatabase
     
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java	Mon Sep 14 10:37:00 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/Product.java	Mon Sep 14 13:38:20 2009 +0000
@@ -3,6 +3,7 @@
  */
 package de.intevation.gnv.artifacts.fis.product;
 
+import java.io.Serializable;
 import java.util.Collection;
 
 import de.intevation.artifacts.ArtifactFactory;
@@ -12,7 +13,7 @@
  * @author Tim Englich <tim.englich@intevation.de>
  *
  */
-public interface Product {
+public interface Product extends Serializable{
 
     public String getName();
     public Collection<InputData> getParameter();
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java	Mon Sep 14 10:37:00 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java	Mon Sep 14 13:38:20 2009 +0000
@@ -6,6 +6,7 @@
 import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.Serializable;
 import java.io.StringBufferInputStream;
 import java.io.StringWriter;
 
@@ -32,7 +33,7 @@
  * @author Tim Englich <tim.englich@intevation.de>
  *
  */
-public class ArtifactXMLUtilities {
+public class ArtifactXMLUtilities implements Serializable{
     /**
      * the logger, used to log exceptions and additonaly information
      */

http://dive4elements.wald.intevation.org