public abstract class BaseOpenmrsData extends BaseOpenmrsObject implements OpenmrsData
OpenmrsData
Constructor and Description |
---|
BaseOpenmrsData()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
User |
getCreator() |
Date |
getDateChanged() |
Date |
getDateCreated() |
Date |
getDateVoided() |
Boolean |
getVoided()
This method delegates to
isVoided() . |
User |
getVoidedBy() |
String |
getVoidReason() |
Boolean |
isVoided() |
void |
setChangedBy(User changedBy) |
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged) |
void |
setDateCreated(Date dateCreated) |
void |
setDateVoided(Date dateVoided) |
void |
setVoided(Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(String voidReason) |
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getUuid, setId, setUuid
protected User creator
public User getCreator()
getCreator
in interface Auditable
Auditable.getCreator()
public void setCreator(User creator)
setCreator
in interface Auditable
creator
- - the user who created the objectAuditable.setCreator(org.openmrs.User)
public Date getDateCreated()
getDateCreated
in interface Auditable
Auditable.getDateCreated()
public void setDateCreated(Date dateCreated)
setDateCreated
in interface Auditable
dateCreated
- - the date the object was createdAuditable.setDateCreated(java.util.Date)
public User getChangedBy()
getChangedBy
in interface Auditable
Auditable.getChangedBy()
public void setChangedBy(User changedBy)
setChangedBy
in interface Auditable
changedBy
- - the user who last changed the objectAuditable.setChangedBy(org.openmrs.User)
public Date getDateChanged()
getDateChanged
in interface Auditable
Auditable.getDateChanged()
public void setDateChanged(Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- - the date the object was last changedAuditable.setDateChanged(java.util.Date)
public Boolean isVoided()
isVoided
in interface Voidable
Voidable.isVoided()
public Boolean getVoided()
isVoided()
. This is only needed for jstl syntax like
${person.voided} because the return type is a Boolean object instead of a boolean primitive
type.Voidable.isVoided()
public void setVoided(Boolean voided)
setVoided
in interface Voidable
voided
- - whether of not this object is voidedVoidable.setVoided(java.lang.Boolean)
public Date getDateVoided()
getDateVoided
in interface Voidable
Voidable.getDateVoided()
public void setDateVoided(Date dateVoided)
setDateVoided
in interface Voidable
dateVoided
- - the date the object was voidedVoidable.setDateVoided(java.util.Date)
public User getVoidedBy()
getVoidedBy
in interface Voidable
Voidable.getVoidedBy()
public void setVoidedBy(User voidedBy)
setVoidedBy
in interface Voidable
voidedBy
- - the user who voided the objectVoidable.setVoidedBy(org.openmrs.User)
public String getVoidReason()
getVoidReason
in interface Voidable
Voidable.getVoidReason()
public void setVoidReason(String voidReason)
setVoidReason
in interface Voidable
voidReason
- - the reason the object was voidedVoidable.setVoidReason(java.lang.String)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.