Class PathState

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

public class PathState extends Object
A path with cached metadata. Currently this includes only the timestamp. In the future this may include a content hash.
Author:
raven
  • Field Details

    • path

      protected Path path
    • timestamp

      protected Instant timestamp
  • Constructor Details

    • PathState

      public PathState(Path path, Instant timestamp)
  • Method Details

    • getPath

      public Path getPath()
    • setPath

      public void setPath(Path path)
    • getTimestamp

      public Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(Instant timestamp)
    • 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