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 / StudyPropertiesAction.java
index 6560b703f8b32e80464a20d0be38f0ffc9e0e84e..4f348c5de519f9206363a3e522cc6a2c57ffbccb 100644 (file)
@@ -37,7 +37,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
     private String                 stitle;         // Title of the study
     private String                 contributors;   // List of existing contributors, some of them may have been removed
     private String                 candidates;     // List of added contributors
-    private int                    type;           // Type of document to be included in the validation process
+    private long                    type;           // Type of document to be included in the validation process
     private int                    publisher;
     private int                    reviewer;
     private int                    approver;
@@ -220,7 +220,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
           if (parsekept[i].length() == 0) continue;   // Yet no contributor
           int  index = Integer.valueOf(parsekept[i].trim());
           for (Iterator<User> j=toremove.iterator(); j.hasNext(); ){
-            int present = j.next().getIndex();
+            long present = j.next().getIndex();
             if (present != index) continue;
             j.remove();
             break;
@@ -286,7 +286,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 //  -----------------------------------------------
       return validefault;
     }
-    public int getDocumentTypeIndex () {
+    public long getDocumentTypeIndex () {
 //  ----------------------------------
       return type;
     }