public class ConceptDescription extends BaseOpenmrsObject implements Auditable, Serializable
| Constructor and Description |
|---|
ConceptDescription()
default constructor
|
ConceptDescription(Integer conceptDescriptionId)
Constructor that takes in the primary key for this object
|
ConceptDescription(String description,
Locale locale)
Constructor specifying the description and locale.
|
| Modifier and Type | Method and Description |
|---|---|
User |
getChangedBy() |
Concept |
getConcept() |
Integer |
getConceptDescriptionId() |
User |
getCreator() |
Date |
getDateChanged() |
Date |
getDateCreated() |
String |
getDescription() |
Integer |
getId() |
Locale |
getLocale() |
void |
setChangedBy(User changedBy) |
void |
setConcept(Concept concept) |
void |
setConceptDescriptionId(Integer conceptDescriptionId) |
void |
setCreator(User creator) |
void |
setDateChanged(Date dateChanged)
Sets the date when the description was changed.
|
void |
setDateCreated(Date dateCreated) |
void |
setDescription(String description) |
void |
setId(Integer id) |
void |
setLocale(Locale locale) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
equals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic ConceptDescription()
public ConceptDescription(Integer conceptDescriptionId)
conceptDescriptionId - the id for this descriptionpublic Integer getConceptDescriptionId()
public void setConceptDescriptionId(Integer conceptDescriptionId)
conceptDescriptionId - The conceptId to set.public Concept getConcept()
public void setConcept(Concept concept)
public String getDescription()
public void setDescription(String description)
public Locale getLocale()
public void setLocale(Locale locale)
public User getCreator()
getCreator in interface Creatablepublic void setCreator(User creator)
setCreator in interface Creatablecreator - The creator to set.public Date getDateCreated()
getDateCreated in interface Creatablepublic void setDateCreated(Date dateCreated)
setDateCreated in interface CreatabledateCreated - The dateCreated to set.public User getChangedBy()
getChangedBy in interface Changeablepublic void setChangedBy(User changedBy)
setChangedBy in interface ChangeablechangedBy - The user who changed this descriptionpublic Date getDateChanged()
getDateChanged in interface Changeablepublic void setDateChanged(Date dateChanged)
setDateChanged in interface ChangeabledateChanged - the data the description was changed.public String toString()
BaseOpenmrsObjectClassName{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 BaseOpenmrsObjectObject.toString()public Integer getId()
getId in interface OpenmrsObjectOpenmrsObject.getId()public void setId(Integer id)
setId in interface OpenmrsObjectid - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2024 OpenMRS Inc.. All rights reserved.