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, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public 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 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.public User getChangedBy()
getChangedBy
in interface Changeable
public void setChangedBy(User changedBy)
setChangedBy
in interface Changeable
changedBy
- The user who changed this descriptionpublic Date getDateChanged()
getDateChanged
in interface Changeable
public void setDateChanged(Date dateChanged)
setDateChanged
in interface Changeable
dateChanged
- the data the description was changed.public 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
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 © 2024 OpenMRS Inc.. All rights reserved.