]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/dal/bo/som/UsedByRelation.java
Salome HOME
Fix: document removing is fixed. Unit tests for StudyDAO and StepService.removeDocume...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / UsedByRelation.java
index b5dedd12b7846154d3886d3bb00754e3d1db43b9..5602fc9680c62d8a507d6c91f2be38be49470267 100644 (file)
@@ -21,14 +21,14 @@ public class UsedByRelation extends Relation {
     protected UsedByRelation () {
     }
 //  Initialization constructors
-    protected UsedByRelation (Document from, Document to) {
+    protected UsedByRelation (final Document from, final Document to) {
 //  -----------------------------------------------------
       super(from);
       this.refer   = to;
       this.reverse = new UsesRelation(this, to, from);
     }
 //  Internal constructor
-    protected UsedByRelation (Relation back, Document from, Document to) {
+    protected UsedByRelation (final Relation back, final Document from, final Document to) {
 //  --------------------------------------------------------------------
       super(from);
       this.refer   = to;
@@ -39,19 +39,23 @@ public class UsedByRelation extends Relation {
 //  Public member functions
 //  ==============================================================================================================================
 
-    public Class<? extends Relation> getReverseClass () {
+    @Override
+       public Class<? extends Relation> getReverseClass () {
 //  ---------------------------------------------------
       return UsesRelation.class;
     }
-    public Document getTo () {
+    @Override
+       public Document getTo () {
 //  -------------------------
       return refer;
     }
-    public boolean isBidirectional () {
+    @Override
+       public boolean isBidirectional () {
 //  ---------------------------------
       return true;
     }
-    protected void setTo (Persistent to) {
+    @Override
+       public void setTo (final Persistent to) {
 //  ------------------------------------
       refer = (Document)to;
     }