|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.ConceptDescription
public class ConceptDescription
ConceptDescription is the localized description of a concept.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
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()
|
int |
hashCode()
|
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()
|
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Constructor Detail |
---|
public ConceptDescription()
public ConceptDescription(java.lang.Integer conceptDescriptionId)
conceptDescriptionId
- the id for this descriptionpublic ConceptDescription(java.lang.String description, java.util.Locale locale)
description
- locale
- Method Detail |
---|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
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 Auditable
public void setCreator(User creator)
setCreator
in interface Auditable
creator
- The creator to set.public java.util.Date getDateCreated()
getDateCreated
in interface Auditable
public void setDateCreated(java.util.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 java.util.Date getDateChanged()
getDateChanged
in interface Auditable
public void setDateChanged(java.util.Date dateChanged)
setDateChanged
in interface Auditable
dateChanged
- the data the description was changed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |