public abstract class BaseOpenmrsMetadata extends BaseOpenmrsObject implements OpenmrsMetadata
OpenmrsMetadata
Constructor and Description |
---|
BaseOpenmrsMetadata()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
User |
getCreator() |
Date |
getDateChanged() |
Date |
getDateCreated() |
Date |
getDateRetired() |
String |
getDescription() |
String |
getName() |
Boolean |
getRetired()
This method delegates to
isRetired() . |
User |
getRetiredBy() |
String |
getRetireReason() |
Boolean |
isRetired() |
void |
setChangedBy(User changedBy) |
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged) |
void |
setDateCreated(Date dateCreated) |
void |
setDateRetired(Date dateRetired) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setRetired(Boolean retired) |
void |
setRetiredBy(User retiredBy) |
void |
setRetireReason(String retireReason) |
getUuid, setUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getUuid, setId, setUuid
public String getName()
getName
in interface OpenmrsMetadata
public void setName(String name)
setName
in interface OpenmrsMetadata
name
- the name to setpublic String getDescription()
getDescription
in interface OpenmrsMetadata
public void setDescription(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 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 isRetired()
isRetired
in interface Retireable
Retireable.isRetired()
public 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(Boolean retired)
setRetired
in interface Retireable
retired
- - whether of not this object is retiredRetireable.setRetired(java.lang.Boolean)
public Date getDateRetired()
getDateRetired
in interface Retireable
Retireable.getDateRetired()
public void setDateRetired(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 String getRetireReason()
getRetireReason
in interface Retireable
Retireable.getRetireReason()
public void setRetireReason(String retireReason)
setRetireReason
in interface Retireable
retireReason
- - the reason the object was retiredRetireable.setRetireReason(java.lang.String)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.