@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()
Deprecated.
as of version 2.2
|
User |
getCreator() |
Date |
getDateChanged()
Deprecated.
as of version 2.2
|
Date |
getDateCreated() |
Date |
getDateRetired() |
String |
getDescription() |
String |
getName() |
Boolean |
getRetired()
This method delegates to
isRetired() . |
User |
getRetiredBy() |
String |
getRetireReason() |
Boolean |
isRetired()
Deprecated.
as of 2.0, use
getRetired() |
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 |
setDateRetired(Date dateRetired) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setRetired(Boolean retired) |
void |
setRetiredBy(User retiredBy) |
void |
setRetireReason(String retireReason) |
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, 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 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 OpenmrsMetadata
OpenmrsMetadata.getChangedBy()
@Deprecated public void setChangedBy(User changedBy)
setChangedBy
in interface Changeable
setChangedBy
in interface OpenmrsMetadata
changedBy
- - the user who last changed the objectOpenmrsMetadata.setChangedBy(User)
@Deprecated public Date getDateChanged()
getDateChanged
in interface Changeable
getDateChanged
in interface OpenmrsMetadata
OpenmrsMetadata.getDateChanged()
@Deprecated public void setDateChanged(Date dateChanged)
setDateChanged
in interface Changeable
setDateChanged
in interface OpenmrsMetadata
dateChanged
- - the date the object was last changedOpenmrsMetadata.setDateChanged(Date)
@Deprecated public Boolean isRetired()
getRetired()
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.getRetired
in interface Retireable
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 © 2024 OpenMRS Inc.. All rights reserved.