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 / UsesRelation.java
index e153992145ad3cddcdde1671cd1c8795a3a258be..2a71351e6fb43b4f5b83f8048eaa619dc90fa434 100644 (file)
@@ -21,14 +21,14 @@ public class UsesRelation extends Relation {
     protected UsesRelation () {
     }
 //  Initialization constructors
-    public UsesRelation (Document from, Document to) {
+    public UsesRelation (final Document from, final Document to) {
 //  ---------------------------------------------------
       super(from);
       this.refer   = to;
       this.reverse = new UsedByRelation(this, to, from);
     }
 //  Internal constructor
-    protected UsesRelation (Relation back, Document from, Document to) {
+    protected UsesRelation (final Relation back, final Document from, final Document to) {
 //  ------------------------------------------------------------------
       super(from);
       this.refer   = to;
@@ -39,20 +39,24 @@ public class UsesRelation extends Relation {
 //  Public member functions
 //  ==============================================================================================================================
 
-    public Class<? extends Relation> getReverseClass () {
+    @Override
+       public Class<? extends Relation> getReverseClass () {
 //  ---------------------------------------------------
       return UsedByRelation.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;
     }