@Entity public class ChecksumHistory extends Object implements ReloadableEntity<Long>
Represents a history record for the bitstream.
| Modifier | Constructor and Description |
|---|---|
protected |
ChecksumHistory()
Protected constructor, create object using:
ChecksumHistoryService.addHistory(Context, MostRecentChecksum) |
| Modifier and Type | Method and Description |
|---|---|
Bitstream |
getBitstream() |
String |
getChecksumCalculated() |
String |
getChecksumExpected()
Get the extpected checksum.
|
Long |
getID() |
Date |
getProcessEndDate()
Get the process end date.
|
Date |
getProcessStartDate()
Get the process start date.
|
ChecksumResult |
getResult()
Return the processing result.
|
void |
setBitstream(Bitstream bitstream) |
void |
setChecksumCalculated(String checksumCalculated)
Set the checksum calculated.
|
void |
setChecksumExpected(String checksumExpected)
Set the expected checksum.
|
void |
setProcessEndDate(Date processEndDate)
Set the process end date.
|
void |
setProcessStartDate(Date processStartDate)
Set the process start date.
|
void |
setResult(ChecksumResult result)
Set the checksum processing result.
|
protected ChecksumHistory()
ChecksumHistoryService.addHistory(Context, MostRecentChecksum)public Long getID()
getID in interface ReloadableEntity<Long>public Bitstream getBitstream()
public void setBitstream(Bitstream bitstream)
public String getChecksumCalculated()
public void setChecksumCalculated(String checksumCalculated)
checksumCalculated - The checksumCalculated to set.public String getChecksumExpected()
public void setChecksumExpected(String checksumExpected)
checksumExpected - The checksumExpected to set.public Date getProcessEndDate()
public void setProcessEndDate(Date processEndDate)
processEndDate - The processEndDate to set.public Date getProcessStartDate()
public void setProcessStartDate(Date processStartDate)
processStartDate - The processStartDate to set.public ChecksumResult getResult()
public void setResult(ChecksumResult result)
result - The result to set.Copyright © 2016 DuraSpace. All rights reserved.