Class OcflVersionInfo

java.lang.Object
org.fcrepo.storage.ocfl.OcflVersionInfo

public class OcflVersionInfo extends Object
Contains OCFL version metadata for a resource version.
Author:
pwinckles
  • Constructor Details

  • Method Details

    • getResourceId

      public String getResourceId()
      Returns:
      the resourceId of the resource the version is for
    • getOcflObjectId

      public String getOcflObjectId()
      Returns:
      the OCFL object id the resource is in
    • getVersionNumber

      public String getVersionNumber()
      Returns:
      the OCFL version number of the version
    • getCreated

      public Instant getCreated()
      Returns:
      the timestamp when the version was created
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object