X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Workspace%2FSPlat%2Fsrc%2Forg%2Fsplat%2Fsom%2FUsesRelation.java;fp=Workspace%2FSPlat%2Fsrc%2Forg%2Fsplat%2Fsom%2FUsesRelation.java;h=0000000000000000000000000000000000000000;hb=579560456cc897f82bffbed049624d26d6927e59;hp=0c815c36ee073dfcb21b8e10bba09f0b7f9aaf3f;hpb=c8f4219156e7e9d67f60f8e1832dfc426ae7eff2;p=tools%2Fsiman.git diff --git a/Workspace/SPlat/src/org/splat/som/UsesRelation.java b/Workspace/SPlat/src/org/splat/som/UsesRelation.java deleted file mode 100644 index 0c815c3..0000000 --- a/Workspace/SPlat/src/org/splat/som/UsesRelation.java +++ /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 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