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 |
|---|---|
boolean |
equals(Object object) |
User |
getChangedBy() |
Concept |
getConcept() |
Integer |
getConceptDescriptionId() |
User |
getCreator() |
Date |
getDateChanged() |
Date |
getDateCreated() |
String |
getDescription() |
Integer |
getId() |
Locale |
getLocale() |
int |
hashCode() |
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() |
getUuid, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic ConceptDescription()
public ConceptDescription(Integer conceptDescriptionId)
conceptDescriptionId - the id for this descriptionpublic boolean equals(Object object)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public 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 Auditablepublic void setCreator(User creator)
setCreator in interface Auditablecreator - The creator to set.public Date getDateCreated()
getDateCreated in interface Auditablepublic void setDateCreated(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 Date getDateChanged()
getDateChanged in interface Auditablepublic void setDateChanged(Date dateChanged)
setDateChanged in interface AuditabledateChanged - the data the description was changed.public String toString()
toString in class ObjectObject.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 © 2018 OpenMRS LLC.. All Rights Reserved.