Salome HOME
Refactoring: kernel and som are moved to Siman-Common.
[tools/siman.git] / Workspace / SPlat / src / org / splat / som / UsesRelation.java
diff --git a/Workspace/SPlat/src/org/splat/som/UsesRelation.java b/Workspace/SPlat/src/org/splat/som/UsesRelation.java
deleted file mode 100644 (file)
index 0c815c3..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-package org.splat.som;
-/**
- * 
- * @author    Daniel Brunier-Coulin
- * @copyright OPEN CASCADE 2012
- */
-
-import org.splat.kernel.Persistent;
-import org.splat.kernel.Relation;
-
-
-public class UsesRelation extends Relation {
-
-    private Document  refer;
-
-//  ==============================================================================================================================
-//  Constructors
-//  ==============================================================================================================================
-
-//  Database fetch constructor
-    protected UsesRelation () {
-    }
-//  Initialization constructors
-    protected UsesRelation (Document from, Document to) {
-//  ---------------------------------------------------
-      super(from);
-      this.refer   = to;
-      this.reverse = new UsedByRelation(this, to, from);
-    }
-//  Internal constructor
-    protected UsesRelation (Relation back, Document from, Document to) {
-//  ------------------------------------------------------------------
-      super(from);
-      this.refer   = to;
-      this.reverse = back;
-    }
-
-//  ==============================================================================================================================
-//  Public member functions
-//  ==============================================================================================================================
-
-    public Class<? extends Relation> getReverseClass () {
-//  ---------------------------------------------------
-      return UsedByRelation.class;
-    }
-
-    public Document getTo () {
-//  -------------------------
-      return refer;
-    }
-    public boolean isBidirectional () {
-//  ---------------------------------
-      return true;
-    }
-    protected void setTo (Persistent to) {
-//  ------------------------------------
-      refer = (Document)to;
-    }
-}
\ No newline at end of file