]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Fixed problem with the study validation cycle.
authormka <mka@opencascade.com>
Wed, 17 Jul 2013 17:51:30 +0000 (17:51 +0000)
committermka <mka@opencascade.com>
Wed, 17 Jul 2013 17:51:30 +0000 (17:51 +0000)
Workspace/Siman-Common/src/org/splat/dal/bo/som/DocumentType.java

index d86176c0a018ab574c305764532524189d0238a2..e4850982b15d1fcbe417e8f46ad955ea1f0c0d6e 100644 (file)
@@ -37,7 +37,7 @@ public class DocumentType extends Persistent {
        /**
         * Step (number) having this type as result.
         */
-       private String result;
+       private Integer result;
        /**
         * Set of "parent" document types, which are used by this type.
         */
@@ -68,7 +68,7 @@ public class DocumentType extends Persistent {
                 * 
                 * @see DocumentType#result
                 */
-               private String result = null;
+               private Integer result = null;
                /**
                 * {@inheritDoc}
                 * 
@@ -104,7 +104,7 @@ public class DocumentType extends Persistent {
                }
 
                public Properties setResult(final ProjectSettingsService.Step step) {
-                       this.result = String.valueOf(step.getNumber());
+                       this.result = step.getNumber();
                        return this;
                }