Class PathDiffState

java.lang.Object
org.aksw.commons.txn.impl.PathDiffState

public class PathDiffState extends Object
A class that holds the original and current state of path metadata.
Author:
raven
  • Field Details

    • originalState

      protected PathState originalState
    • currentState

      protected PathState currentState
  • Constructor Details

  • Method Details

    • getOriginalState

      public PathState getOriginalState()
    • setOriginalState

      public void setOriginalState(PathState originalState)
    • getCurrentState

      public PathState getCurrentState()
    • setCurrentState

      public void setCurrentState(PathState currentState)
    • isDirty

      public boolean isDirty()
      If the original state differs from the current something is dirty
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object