From: mka Date: Wed, 17 Jul 2013 17:51:30 +0000 (+0000) Subject: Fixed problem with the study validation cycle. X-Git-Tag: V7_3_0b1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=faa4892d98403dbafcc3eb07cfa79fbafe188e46;p=tools%2Fsiman.git Fixed problem with the study validation cycle. --- diff --git a/Workspace/Siman-Common/src/org/splat/dal/bo/som/DocumentType.java b/Workspace/Siman-Common/src/org/splat/dal/bo/som/DocumentType.java index d86176c..e485098 100644 --- a/Workspace/Siman-Common/src/org/splat/dal/bo/som/DocumentType.java +++ b/Workspace/Siman-Common/src/org/splat/dal/bo/som/DocumentType.java @@ -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; }