public class ConceptNameTag extends BaseOpenmrsObject implements Auditable, Voidable, Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptNameTag()
Default constructor.
|
ConceptNameTag(String tag,
String description)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
User |
getChangedBy() |
Integer |
getConceptNameTagId() |
User |
getCreator() |
Date |
getDateChanged() |
Date |
getDateCreated() |
Date |
getDateVoided()
Returns the Date this ConceptName was voided.
|
String |
getDescription()
Returns the description of this tag.
|
Integer |
getId() |
String |
getTag()
Returns the textual representation of this ConceptNameTag.
|
Boolean |
getVoided()
Returns whether the ConceptName has been voided.
|
User |
getVoidedBy()
Returns the User who voided this ConceptName.
|
String |
getVoidReason()
Returns the reason this ConceptName was voided.
|
Boolean |
isVoided()
Deprecated.
as of 2.0, use
getVoided() |
void |
setChangedBy(User changedBy) |
void |
setConceptNameTagId(Integer conceptNameTagId) |
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged) |
void |
setDateCreated(Date dateCreated) |
void |
setDateVoided(Date dateVoided)
Sets the Data this ConceptName was voided.
|
void |
setDescription(String description)
Sets the description of this tag.
|
void |
setId(Integer id) |
void |
setTag(String tag)
Sets the textual representation of this ConceptNametag.
|
void |
setVoided(Boolean voided)
Sets the voided status of the ConceptName.
|
void |
setVoidedBy(User voidedBy)
Sets the User who voided this ConceptName.
|
void |
setVoidReason(String voidReason)
Sets the reason this ConceptName was voided.
|
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public String getTag()
public void setTag(String tag)
tag
- the textual representationpublic String getDescription()
public void setDescription(String description)
description
- public User getCreator()
getCreator
in interface Creatable
public void setCreator(User creator)
setCreator
in interface Creatable
creator
- The creator to set.public Date getDateCreated()
getDateCreated
in interface Creatable
public void setDateCreated(Date dateCreated)
setDateCreated
in interface Creatable
dateCreated
- The dateCreated to set.@Deprecated public Boolean isVoided()
getVoided()
public Boolean getVoided()
public void setVoided(Boolean voided)
public User getVoidedBy()
getVoidedBy
in interface Voidable
public void setVoidedBy(User voidedBy)
setVoidedBy
in interface Voidable
voidedBy
- the user who voided this ConceptName.public Date getDateVoided()
getDateVoided
in interface Voidable
public void setDateVoided(Date dateVoided)
setDateVoided
in interface Voidable
dateVoided
- the date the ConceptName was voided.public String getVoidReason()
getVoidReason
in interface Voidable
public void setVoidReason(String voidReason)
setVoidReason
in interface Voidable
voidReason
- the reason this ConceptName was voidedpublic String toString()
BaseOpenmrsObject
ClassName{hashCode=..., uuid=...}
If the uuid
field is null
, it returns:
ClassName{hashCode=...}Should include hashCode if uuid is null Should include uuid if not null
toString
in class BaseOpenmrsObject
public Integer getConceptNameTagId()
public void setConceptNameTagId(Integer conceptNameTagId)
conceptNameTagId
- the conceptNameTagId to setpublic Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public User getChangedBy()
getChangedBy
in interface Changeable
public void setChangedBy(User changedBy)
setChangedBy
in interface Changeable
changedBy
- The user that changed this objectpublic Date getDateChanged()
getDateChanged
in interface Changeable
public void setDateChanged(Date dateChanged)
setDateChanged
in interface Changeable
dateChanged
- The date this object was changedCopyright © 2024 OpenMRS Inc.. All rights reserved.