| java.lang.Object org.dspace.checker.ChecksumHistory
ChecksumHistory | public class ChecksumHistory (Code) | |
Represents a history record for the bitstream.
author: Jim Downing author: Grace Carpenter author: Nathan Sarr |
ChecksumHistory | public ChecksumHistory()(Code) | | |
ChecksumHistory | public ChecksumHistory(int bitstreamId)(Code) | | Minimal Constructor.
Parameters: bitstreamId - bitstream id in the database |
ChecksumHistory | public ChecksumHistory(int bitstrmId, Date startDate, Date endDate, String checksumExpted, String checksumCalc, String inResult)(Code) | | Full history info Constructor.
Parameters: bitstrmId - bitstream Id. Parameters: startDate - process start date Parameters: endDate - process end date Parameters: checksumExpted - expected checksum Parameters: checksumCalc - calculated checksum Parameters: inResult - result information |
getBitstreamId | public int getBitstreamId()(Code) | | Returns the bitstreamId. |
getChecksumCalculated | public String getChecksumCalculated()(Code) | | Returns the checksumCalculated. |
getChecksumExpected | public String getChecksumExpected()(Code) | | Get the extpected checksum.
Returns the checksumExpected. |
getProcessEndDate | public Date getProcessEndDate()(Code) | | Get the process end date. This is the date and time the processing ended.
Returns the processEndDate. |
getProcessStartDate | public Date getProcessStartDate()(Code) | | Get the process start date. This is the date and time the processing
started.
Returns the processStartDate. |
getResult | public String getResult()(Code) | | Return the processing result.
|
setChecksumCalculated | public void setChecksumCalculated(String checksumCalculated)(Code) | | Set the checksum calculated.
Parameters: checksumCalculated - The checksumCalculated to set. |
setChecksumExpected | public void setChecksumExpected(String checksumExpected)(Code) | | Set the expected checksum.
Parameters: checksumExpected - The checksumExpected to set. |
setProcessEndDate | public void setProcessEndDate(Date processEndDate)(Code) | | Set the process end date. This is the date and time the processing ended.
Parameters: processEndDate - The processEndDate to set. |
setProcessStartDate | public void setProcessStartDate(Date processStartDate)(Code) | | Set the process start date. This is the date and time the processing
started.
Parameters: processStartDate - The processStartDate to set. |
setResult | public void setResult(String result)(Code) | | Set the checksum processing result.
Parameters: result - The result to set. |
|
|