From cda27a41d3693f4eaac8994cc2e12cf3e2efa72c Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Wed, 10 Mar 2010 07:49:46 +0000
Subject: [PATCH] add: default serialVersionUIDs to serializable objects

SVN: 15094
---
 .../plugin/phosphonetx/shared/dto/IdentifiedPeptide.java        | 2 ++
 .../plugin/phosphonetx/shared/dto/IdentifiedProtein.java        | 2 ++
 .../shared/dto/ProteinReferenceWithProbabilityAndPeptide.java   | 1 +
 .../plugin/phosphonetx/shared/dto/ProteinWithAbundances.java    | 2 ++
 .../openbis/plugin/phosphonetx/shared/dto/SampleAbundance.java  | 2 ++
 .../cisd/openbis/plugin/phosphonetx/shared/dto/Sequence.java    | 2 ++
 6 files changed, 11 insertions(+)

diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedPeptide.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedPeptide.java
index be2a14b0527..fb71a2b6e9d 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedPeptide.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedPeptide.java
@@ -26,6 +26,8 @@ import net.lemnik.eodsql.ResultColumn;
  */
 public class IdentifiedPeptide extends AbstractDTOWithID
 {
+    private static final long serialVersionUID = 1L;
+
     @ResultColumn("sequence")
     private String sequence;
     
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedProtein.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedProtein.java
index 3384524e021..10ffe504419 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedProtein.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/IdentifiedProtein.java
@@ -25,6 +25,8 @@ import net.lemnik.eodsql.ResultColumn;
  */
 public class IdentifiedProtein extends AbstractDTOWithID
 {
+    private static final long serialVersionUID = 1L;
+
     @ResultColumn("data_set_id")
     private long dataSetID;
     
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinReferenceWithProbabilityAndPeptide.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinReferenceWithProbabilityAndPeptide.java
index b0ec609f8d7..87dddbcf85c 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinReferenceWithProbabilityAndPeptide.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinReferenceWithProbabilityAndPeptide.java
@@ -25,6 +25,7 @@ import net.lemnik.eodsql.ResultColumn;
  */
 public class ProteinReferenceWithProbabilityAndPeptide extends ProteinReferenceWithProbability
 {
+    private static final long serialVersionUID = 1L;
     @ResultColumn("sequence")
     private String peptideSequence;
 
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinWithAbundances.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinWithAbundances.java
index b6701cddc76..147958110cc 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinWithAbundances.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/ProteinWithAbundances.java
@@ -27,6 +27,8 @@ import java.util.Set;
  */
 public class ProteinWithAbundances extends ProteinReference
 {
+    private static final long serialVersionUID = 1L;
+
     private static final double[] EMPTY_ARRAY = new double[0];
     
     private final Map<Long, double[]> abundances = new LinkedHashMap<Long, double[]>();
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/SampleAbundance.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/SampleAbundance.java
index 6fd3bedfeee..b1d72f816cb 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/SampleAbundance.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/SampleAbundance.java
@@ -26,6 +26,8 @@ import net.lemnik.eodsql.ResultColumn;
  */
 public class SampleAbundance extends AbstractDTOWithID
 {
+    private static final long serialVersionUID = 1L;
+
     @ResultColumn("perm_id")
     private String samplePermID;
 
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/Sequence.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/Sequence.java
index f05316ea8bd..99f35aca8f8 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/Sequence.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/shared/dto/Sequence.java
@@ -26,6 +26,8 @@ import net.lemnik.eodsql.ResultColumn;
  */
 public class Sequence extends AbstractDTOWithID
 {
+    private static final long serialVersionUID = 1L;
+
     @ResultColumn("amino_acid_sequence")
     private String sequence;
     
-- 
GitLab