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, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public ConceptDescription()
public ConceptDescription(Integer conceptDescriptionId)
conceptDescriptionId
- the id for this descriptionpublic boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.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 Auditable
public void setCreator(User creator)
setCreator
in interface Auditable
creator
- The creator to set.public Date getDateCreated()
getDateCreated
in interface Auditable
public void setDateCreated(Date dateCreated)
setDateCreated
in interface Auditable
dateCreated
- The dateCreated to set.public User getChangedBy()
getChangedBy
in interface Auditable
public void setChangedBy(User changedBy)
setChangedBy
in interface Auditable
changedBy
- The user who changed this descriptionpublic Date getDateChanged()
getDateChanged
in interface Auditable
public void setDateChanged(Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- the data the description was changed.public String toString()
toString
in class Object
Object.toString()
public 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)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.