Class ChecksumHistory

java.lang.Object
org.dspace.checker.ChecksumHistory
All Implemented Interfaces:
ReloadableEntity<Long>

@Entity public class ChecksumHistory extends Object implements ReloadableEntity<Long>

Represents a history record for the bitstream.

Author:
Jim Downing, Grace Carpenter, Nathan Sarr
  • Constructor Details

  • Method Details

    • getID

      public Long getID()
      Description copied from interface: ReloadableEntity
      The unique identifier of this entity instance.
      Specified by:
      getID in interface ReloadableEntity<Long>
      Returns:
      the value of the primary key for this instance.
    • getBitstream

      public Bitstream getBitstream()
      Returns:
      Returns the bitstreamId.
    • setBitstream

      public void setBitstream(Bitstream bitstream)
    • getChecksumCalculated

      public String getChecksumCalculated()
      Returns:
      Returns the checksumCalculated.
    • setChecksumCalculated

      public void setChecksumCalculated(String checksumCalculated)
      Set the checksum calculated.
      Parameters:
      checksumCalculated - The checksumCalculated to set.
    • getChecksumExpected

      public String getChecksumExpected()
      Get the extpected checksum.
      Returns:
      Returns the checksumExpected.
    • setChecksumExpected

      public void setChecksumExpected(String checksumExpected)
      Set the expected checksum.
      Parameters:
      checksumExpected - The checksumExpected to set.
    • getProcessEndDate

      public Instant getProcessEndDate()
      Get the process end date. This is the date and time the processing ended.
      Returns:
      Returns the processEndDate.
    • setProcessEndDate

      public void setProcessEndDate(Instant processEndDate)
      Set the process end date. This is the date and time the processing ended.
      Parameters:
      processEndDate - The processEndDate to set.
    • getProcessStartDate

      public Instant getProcessStartDate()
      Get the process start date. This is the date and time the processing started.
      Returns:
      Returns the processStartDate.
    • setProcessStartDate

      public void setProcessStartDate(Instant processStartDate)
      Set the process start date. This is the date and time the processing started.
      Parameters:
      processStartDate - The processStartDate to set.
    • getResult

      public ChecksumResult getResult()
      Return the processing result.
      Returns:
      result
    • setResult

      public void setResult(ChecksumResult result)
      Set the checksum processing result.
      Parameters:
      result - The result to set.