@MappedSuperclass public abstract class BaseOpenmrsData extends BaseOpenmrsObject implements OpenmrsData
OpenmrsData
,
Serialized FormConstructor and Description |
---|
BaseOpenmrsData()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
User |
getCreator() |
java.util.Date |
getDateChanged() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateVoided() |
java.lang.Boolean |
getVoided()
This method delegates to
isVoided() . |
User |
getVoidedBy() |
java.lang.String |
getVoidReason() |
java.lang.Boolean |
isVoided() |
void |
setChangedBy(User changedBy) |
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateVoided(java.util.Date dateVoided) |
void |
setVoided(java.lang.Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(java.lang.String voidReason) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, 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 java.util.Date getDateCreated()
getDateCreated
in interface Auditable
Auditable.getDateCreated()
public void setDateCreated(java.util.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 java.util.Date getDateChanged()
getDateChanged
in interface Auditable
Auditable.getDateChanged()
public void setDateChanged(java.util.Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- - the date the object was last changedAuditable.setDateChanged(java.util.Date)
public java.lang.Boolean isVoided()
isVoided
in interface Voidable
Voidable.isVoided()
public java.lang.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(java.lang.Boolean voided)
setVoided
in interface Voidable
voided
- - whether of not this object is voidedVoidable.setVoided(java.lang.Boolean)
public java.util.Date getDateVoided()
getDateVoided
in interface Voidable
Voidable.getDateVoided()
public void setDateVoided(java.util.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 java.lang.String getVoidReason()
getVoidReason
in interface Voidable
Voidable.getVoidReason()
public void setVoidReason(java.lang.String voidReason)
setVoidReason
in interface Voidable
voidReason
- - the reason the object was voidedVoidable.setVoidReason(java.lang.String)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.