Class DependencyImpl

java.lang.Object
de.uni_trier.wi2.procake.dependency.impl.DependencyImpl
All Implemented Interfaces:
Dependency

public class DependencyImpl extends Object implements Dependency
Implementation of Dependency.
Author:
Rahol Kumar, Alexander Schultheis
  • Constructor Details

  • Method Details

    • getSourceCase

      public DataObject getSourceCase()
      Description copied from interface: Dependency
      Method, that returns the source case of the dependency.
      Specified by:
      getSourceCase in interface Dependency
      Returns:
      The source case as DataObject.
    • getTargetCase

      public DataObject getTargetCase()
      Description copied from interface: Dependency
      Method, that returns the target case of the dependency.
      Specified by:
      getTargetCase in interface Dependency
      Returns:
      The target case as DataObject.
    • hasSameValueAsIn

      public boolean hasSameValueAsIn(Dependency otherDependency)
      Description copied from interface: Dependency
      Method, that checks, if two dependencies are of the same type and contain the same elements.
      Specified by:
      hasSameValueAsIn in interface Dependency
      Parameters:
      otherDependency - The dependency, the current dependency should be compared to.
      Returns:
      True, if both dependencies are equivalent.
    • getSourceCaseItem

      public NESTGraphItemObject getSourceCaseItem()
      Description copied from interface: Dependency
      Method, that returns the graph item of the source case of the dependency.
      Specified by:
      getSourceCaseItem in interface Dependency
      Returns:
      The graph item of the source case of the dependency.
    • getTargetCaseItem

      public NESTGraphItemObject getTargetCaseItem()
      Description copied from interface: Dependency
      Method, that returns the graph item of the target case of the dependency.
      Specified by:
      getTargetCaseItem in interface Dependency
      Returns:
      The graph item of the target case of the dependency.
    • getSourceCaseItemSemanticDescriptor

      public DataObject getSourceCaseItemSemanticDescriptor()
      Description copied from interface: Dependency
      Method, that returns the semantic descriptor of the graph item of the source case of the dependency.
      Specified by:
      getSourceCaseItemSemanticDescriptor in interface Dependency
      Returns:
      The semantic descriptor of the graph item of the source case of the dependency.
    • getTargetCaseItemSemanticDescriptor

      public DataObject getTargetCaseItemSemanticDescriptor()
      Description copied from interface: Dependency
      Method, that returns the semantic descriptor of the graph item of the target case of the dependency.
      Specified by:
      getTargetCaseItemSemanticDescriptor in interface Dependency
      Returns:
      The semantic descriptor of the graph item of the target case of the dependency.
    • getDependencyType

      public DependencyType getDependencyType()
      Description copied from interface: Dependency
      Method, that returns the type of the current dependency.
      Specified by:
      getDependencyType in interface Dependency
      Returns:
      The type of the current dependency.
    • toString

      public String toString()
      Overrides:
      toString in class Object