fromDataItem
fun fromDataItem(dataItem: DataItem, documentTypeRepository: DocumentTypeRepository? = null): PresentmentEventDocument
Creates a PresentmentEventDocument previously serialized with PresentmentEventDocument.toDataItem.
Return
a new PresentmentEventDocument.
Parameters
dataItem
a DataItem.
documentTypeRepository
if not null, will be used to look up a DocumentAttribute for the claim.