- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<org.processmining.models.graphbased.AbstractGraphEdge<Entity,Entity>>, org.processmining.models.graphbased.AttributeMapOwner, org.processmining.models.graphbased.directed.DirectedGraphEdge<Entity,Entity>, org.processmining.models.graphbased.directed.DirectedGraphElement
public class Relationship
extends org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge<Entity,Entity>
Defines a relationship between entities and the corresponding cardinalities
The distinction between which node is source and which target is arbitrary.
This is so that the generality is preserved. In practice many situations can
arise when discovering inclusion dependencies, for example inclusion
dependencies both fk.A -> k.B and fk.B -> k.A for tables A and B. The
implementation can be changed to assume foreign key -> primary key order
which is how a new relationship is added in getDependencies().
- Author:
- Viara Popova