com.exlibris.digitool.repository.ifc
Class FixityEvent
java.lang.Object
com.exlibris.digitool.repository.ifc.FixityEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FixityEvent
- extends java.lang.Object
- implements java.io.Serializable
This object is used by the IEWebServices.generateFixityEvent(java.lang.String, com.exlibris.digitool.repository.ifc.FixityEvent)
The object represents a fixity event for Rosetta to process.
The Event Handler in Rosetta determines whether the event is a provenance event or only a statistics event.
- See Also:
- Serialized Form
|
Constructor Summary |
FixityEvent()
|
FixityEvent(java.lang.Boolean status,
java.lang.String filePid,
java.lang.String copyId,
java.lang.String algorithmName,
java.lang.String agentName,
java.util.Date date)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixityEvent
public FixityEvent(java.lang.Boolean status,
java.lang.String filePid,
java.lang.String copyId,
java.lang.String algorithmName,
java.lang.String agentName,
java.util.Date date)
FixityEvent
public FixityEvent()
getStatus
public java.lang.Boolean getStatus()
- Returns:
- status: true if the fixity passed, false if the fixity failed
setStatus
public void setStatus(java.lang.Boolean status)
- Parameters:
status - true if the fixity passed, false if the fixity failed
getFilePid
public java.lang.String getFilePid()
- Returns:
- filePID: The file identifier (Rosetta PID)
setFilePid
public void setFilePid(java.lang.String filePid)
- Parameters:
filePid - The file identifier (Rosetta PID)
getCopyId
public java.lang.String getCopyId()
setCopyId
public void setCopyId(java.lang.String copyId)
getDate
public java.util.Date getDate()
setDate
public void setDate(java.util.Date date)
getAlgorithmName
public java.lang.String getAlgorithmName()
- Returns:
- algorithmName: the name of the fixity algorithm used.
setAlgorithmName
public void setAlgorithmName(java.lang.String algorithmName)
- Parameters:
algorithmName - the name of the fixity algorithm used.
getAgentName
public java.lang.String getAgentName()
- Returns:
- agentName: The name of the agent which performed the fixity check.
setAgentName
public void setAgentName(java.lang.String agentName)
- Parameters:
agentName - The name of the agent which performed the fixity check.
If this field is not set, the event will generate the value to be- "GENERATED BY WEB SERVICE"