Salome HOME
Id now is Long instead of Integer. First unit test is created. hibernate-3.5.jar...
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / admin / ProjectElementFacade.java
index a2e819f06e5e3ab93b1155f62c51db55d1e70166..c75000a3648d81b900d10f6d087d55e98fd9fa06 100644 (file)
@@ -8,7 +8,7 @@ import org.splat.dal.bo.som.Study;
 
 public class ProjectElementFacade {
 
-    private int     index;        // For checking the equality between ProjectElementFacade objects
+    private long     index;        // For checking the equality between ProjectElementFacade objects
     private Study   my;
     private String  subtitle;
     private String  step;
@@ -42,7 +42,7 @@ public class ProjectElementFacade {
     }
     public int hashCode () {
 //  ----------------------
-      return  index;
+      return  (int) index;
     }
 
 //  ==============================================================================================================================