public interface Voidable extends OpenmrsObject
Retireable
, voiding data invalidates any data
referencing them. e.g., when a patient is voided, all observations for that patient must be
voided as well.OpenmrsData
,
Retireable
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDateVoided() |
User |
getVoidedBy() |
java.lang.String |
getVoidReason() |
java.lang.Boolean |
isVoided() |
void |
setDateVoided(java.util.Date dateVoided) |
void |
setVoided(java.lang.Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(java.lang.String voidReason) |
getId, getUuid, setId, setUuid
java.lang.Boolean isVoided()
void setVoided(java.lang.Boolean voided)
voided
- - whether of not this object is voidedUser getVoidedBy()
void setVoidedBy(User voidedBy)
voidedBy
- - the user who voided the objectjava.util.Date getDateVoided()
void setDateVoided(java.util.Date dateVoided)
dateVoided
- - the date the object was voidedjava.lang.String getVoidReason()
void setVoidReason(java.lang.String voidReason)
voidReason
- - the reason the object was voidedCopyright © 2018 OpenMRS Inc.. All Rights Reserved.