Class 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
    • Method Detail

      • 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 Date getProcessEndDate()
        Get the process end date. This is the date and time the processing ended.
        Returns:
        Returns the processEndDate.
      • setProcessEndDate

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

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

        public void setProcessStartDate​(Date 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.