@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()
Deprecated.
as of version 2.2
|
User |
getCreator() |
Date |
getDateChanged()
Deprecated.
as of version 2.2
|
Date |
getDateCreated() |
Date |
getDateVoided() |
Boolean |
getVoided() |
User |
getVoidedBy() |
String |
getVoidReason() |
Boolean |
isVoided()
Deprecated.
as of 2.0, use
getVoided() |
void |
setChangedBy(User changedBy)
Deprecated.
as of version 2.2
|
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged)
Deprecated.
as of version 2.2
|
void |
setDateCreated(Date dateCreated) |
void |
setDateVoided(Date dateVoided) |
void |
setVoided(Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(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 Creatable
Creatable.getCreator()
public void setCreator(User creator)
setCreator
in interface Creatable
creator
- - the user who created the objectCreatable.setCreator(org.openmrs.User)
public Date getDateCreated()
getDateCreated
in interface Creatable
Creatable.getDateCreated()
public void setDateCreated(Date dateCreated)
setDateCreated
in interface Creatable
dateCreated
- - the date the object was createdCreatable.setDateCreated(java.util.Date)
@Deprecated public User getChangedBy()
getChangedBy
in interface Changeable
getChangedBy
in interface OpenmrsData
OpenmrsData.getChangedBy()
@Deprecated public void setChangedBy(User changedBy)
setChangedBy
in interface Changeable
setChangedBy
in interface OpenmrsData
changedBy
- - the user who last changed the objectOpenmrsData.setChangedBy(User)
@Deprecated public Date getDateChanged()
getDateChanged
in interface Changeable
getDateChanged
in interface OpenmrsData
OpenmrsData.getDateChanged()
@Deprecated public void setDateChanged(Date dateChanged)
setDateChanged
in interface Changeable
setDateChanged
in interface OpenmrsData
dateChanged
- - the date the object was last changedOpenmrsData.setDateChanged(Date)
@Deprecated public Boolean isVoided()
getVoided()
isVoided
in interface Voidable
Voidable.isVoided()
public Boolean getVoided()
getVoided
in interface Voidable
Voidable.getVoided()
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 © 2024 OpenMRS Inc.. All rights reserved.