Class AbstractRelationRecord

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean srcToTgt  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      boolean isSrcToTgt()
      Gets flag if relation is extracted from source to target.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • srcToTgt

        protected final boolean srcToTgt
    • Constructor Detail

      • AbstractRelationRecord

        public AbstractRelationRecord​(boolean srcToTgt)
    • Method Detail

      • isSrcToTgt

        public boolean isSrcToTgt()
        Description copied from interface: RelationRecord
        Gets flag if relation is extracted from source to target.
        Specified by:
        isSrcToTgt in interface RelationRecord
        Returns:
        true, in case of source to target direction, false - the opposite way
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object