@MappedSuperclass public abstract class BaseOpenmrsMetadata extends BaseOpenmrsObject implements OpenmrsMetadata
OpenmrsMetadata
,
Serialized FormConstructor and Description |
---|
BaseOpenmrsMetadata()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
User |
getCreator() |
java.util.Date |
getDateChanged() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateRetired() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.Boolean |
getRetired()
This method delegates to
isRetired() . |
User |
getRetiredBy() |
java.lang.String |
getRetireReason() |
java.lang.Boolean |
isRetired() |
void |
setChangedBy(User changedBy) |
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateRetired(java.util.Date dateRetired) |
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setRetired(java.lang.Boolean retired) |
void |
setRetiredBy(User retiredBy) |
void |
setRetireReason(java.lang.String retireReason) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getUuid, setId, setUuid
public java.lang.String getName()
getName
in interface OpenmrsMetadata
public void setName(java.lang.String name)
setName
in interface OpenmrsMetadata
name
- the name to setpublic java.lang.String getDescription()
getDescription
in interface OpenmrsMetadata
public void setDescription(java.lang.String description)
setDescription
in interface OpenmrsMetadata
description
- the description to setpublic 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 isRetired()
isRetired
in interface Retireable
Retireable.isRetired()
public java.lang.Boolean getRetired()
isRetired()
. This is only needed for jstl syntax like
${fieldType.retired} because the return type is a Boolean object instead of a boolean
primitive type.Retireable.isRetired()
public void setRetired(java.lang.Boolean retired)
setRetired
in interface Retireable
retired
- - whether of not this object is retiredRetireable.setRetired(java.lang.Boolean)
public java.util.Date getDateRetired()
getDateRetired
in interface Retireable
Retireable.getDateRetired()
public void setDateRetired(java.util.Date dateRetired)
setDateRetired
in interface Retireable
dateRetired
- - the date the object was retiredRetireable.setDateRetired(java.util.Date)
public User getRetiredBy()
getRetiredBy
in interface Retireable
Retireable.getRetiredBy()
public void setRetiredBy(User retiredBy)
setRetiredBy
in interface Retireable
retiredBy
- - the user who retired the objectRetireable.setRetiredBy(org.openmrs.User)
public java.lang.String getRetireReason()
getRetireReason
in interface Retireable
Retireable.getRetireReason()
public void setRetireReason(java.lang.String retireReason)
setRetireReason
in interface Retireable
retireReason
- - the reason the object was retiredRetireable.setRetireReason(java.lang.String)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.