public class ConceptDescription extends BaseOpenmrsObject implements Auditable, java.io.Serializable
| Constructor and Description |
|---|
ConceptDescription()
default constructor
|
ConceptDescription(java.lang.Integer conceptDescriptionId)
Constructor that takes in the primary key for this object
|
ConceptDescription(java.lang.String description,
java.util.Locale locale)
Constructor specifying the description and locale.
|
| Modifier and Type | Method and Description |
|---|---|
User |
getChangedBy() |
Concept |
getConcept() |
java.lang.Integer |
getConceptDescriptionId() |
User |
getCreator() |
java.util.Date |
getDateChanged() |
java.util.Date |
getDateCreated() |
java.lang.String |
getDescription() |
java.lang.Integer |
getId() |
java.util.Locale |
getLocale() |
void |
setChangedBy(User changedBy) |
void |
setConcept(Concept concept) |
void |
setConceptDescriptionId(java.lang.Integer conceptDescriptionId) |
void |
setCreator(User creator) |
void |
setDateChanged(java.util.Date dateChanged)
Sets the date when the description was changed.
|
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.Integer id) |
void |
setLocale(java.util.Locale locale) |
java.lang.String |
toString()
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ]. |
equals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic ConceptDescription()
public ConceptDescription(java.lang.Integer conceptDescriptionId)
conceptDescriptionId - the id for this descriptionpublic ConceptDescription(java.lang.String description,
java.util.Locale locale)
description - locale - public java.lang.Integer getConceptDescriptionId()
public void setConceptDescriptionId(java.lang.Integer conceptDescriptionId)
conceptDescriptionId - The conceptId to set.public Concept getConcept()
public void setConcept(Concept concept)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public User getCreator()
getCreator in interface Auditablepublic void setCreator(User creator)
setCreator in interface Auditablecreator - The creator to set.public java.util.Date getDateCreated()
getDateCreated in interface Auditablepublic void setDateCreated(java.util.Date dateCreated)
setDateCreated in interface AuditabledateCreated - The dateCreated to set.public User getChangedBy()
getChangedBy in interface Auditablepublic void setChangedBy(User changedBy)
setChangedBy in interface AuditablechangedBy - The user who changed this descriptionpublic java.util.Date getDateChanged()
getDateChanged in interface Auditablepublic void setDateChanged(java.util.Date dateChanged)
setDateChanged in interface AuditabledateChanged - the data the description was changed.public java.lang.String toString()
BaseOpenmrsObjectuuid field surrounded by [ and ]. In other words,
this method returns a string equal to the value of: getClass().getName() + '[' + uuid + ']'
If the uuid field is null, it delegates to
Object.toString()
toString in class BaseOpenmrsObjectObject.toString()public java.lang.Integer getId()
getId in interface OpenmrsObjectOpenmrsObject.getId()public void setId(java.lang.Integer id)
setId in interface OpenmrsObjectid - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.