Class ValidationResourceInMemory
- java.lang.Object
-
- org.openprovenance.prov.service.core.memory.DocumentResourceInMemory
-
- org.openprovenance.prov.service.validation.memory.ValidationResourceInMemory
-
- All Implemented Interfaces:
Cloneable,ValidationResource,org.openprovenance.prov.storage.api.AbstractResource,org.openprovenance.prov.storage.api.DocumentResource
public class ValidationResourceInMemory extends DocumentResourceInMemory implements ValidationResource, Cloneable
-
-
Field Summary
-
Fields inherited from class org.openprovenance.prov.service.core.memory.DocumentResourceInMemory
extension, thrown
-
Fields inherited from interface org.openprovenance.prov.service.validation.ValidationResource
BUNDLE, COMPLETE, REPORT, VALIDATION
-
-
Constructor Summary
Constructors Constructor Description ValidationResourceInMemory()ValidationResourceInMemory(org.openprovenance.prov.storage.api.DocumentResource d)
-
Method Summary
Modifier and Type Method Description Objectclone()booleangetCompleted()StringgetJsonReportStorageId()StringgetMatrix()StringgetPngMatrix()StringgetReport()voidsetCompleted(boolean completed)voidsetJsonReport(String jsonReportStorageId)voidsetMatrix(String matrix)voidsetPngMatrix(String matrixPngId)voidsetReport(String report)-
Methods inherited from class org.openprovenance.prov.service.core.memory.DocumentResourceInMemory
document, getExpires, getExtension, getKind, getStorageId, getThrown, getVisibleId, setDocument, setExpires, setExtension, setKind, setStorageId, setThrown, setVisibleId
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getReport
public String getReport()
- Specified by:
getReportin interfaceValidationResource
-
getCompleted
public boolean getCompleted()
- Specified by:
getCompletedin interfaceValidationResource
-
setCompleted
public void setCompleted(boolean completed)
- Specified by:
setCompletedin interfaceValidationResource
-
getMatrix
public String getMatrix()
- Specified by:
getMatrixin interfaceValidationResource
-
setMatrix
public void setMatrix(String matrix)
- Specified by:
setMatrixin interfaceValidationResource
-
setPngMatrix
public void setPngMatrix(String matrixPngId)
- Specified by:
setPngMatrixin interfaceValidationResource
-
getPngMatrix
public String getPngMatrix()
- Specified by:
getPngMatrixin interfaceValidationResource
-
setJsonReport
public void setJsonReport(String jsonReportStorageId)
- Specified by:
setJsonReportin interfaceValidationResource
-
getJsonReportStorageId
public String getJsonReportStorageId()
- Specified by:
getJsonReportStorageIdin interfaceValidationResource
-
setReport
public void setReport(String report)
- Specified by:
setReportin interfaceValidationResource
-
-