public class ConceptMap extends BaseConceptMap implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptMap()
default constructor
|
ConceptMap(ConceptReferenceTerm conceptReferenceTerm,
ConceptMapType conceptMapType)
Convenience constructor that takes the term to be mapped to and the type of the map
|
ConceptMap(java.lang.Integer conceptMapId)
constructor with concept map id
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Deprecated.
|
Concept |
getConcept() |
java.lang.Integer |
getConceptMapId() |
ConceptReferenceTerm |
getConceptReferenceTerm() |
java.lang.Integer |
getId() |
ConceptSource |
getSource()
Deprecated.
|
java.lang.String |
getSourceCode()
Deprecated.
|
void |
setComment(java.lang.String comment)
Deprecated.
|
void |
setConcept(Concept concept) |
void |
setConceptMapId(java.lang.Integer conceptMapId) |
void |
setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
void |
setId(java.lang.Integer id) |
void |
setSource(ConceptSource source)
Deprecated.
|
void |
setSourceCode(java.lang.String sourceCode)
Deprecated.
|
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 ] . |
getChangedBy, getConceptMapType, getCreator, getDateChanged, getDateCreated, setChangedBy, setConceptMapType, setCreator, setDateChanged, setDateCreated
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public ConceptMap()
public ConceptMap(java.lang.Integer conceptMapId)
public ConceptMap(ConceptReferenceTerm conceptReferenceTerm, ConceptMapType conceptMapType)
conceptReferenceTerm
- the concept reference term to map toconceptMapType
- the concept map type for this concept reference term mappublic java.lang.String toString()
BaseOpenmrsObject
uuid
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 BaseOpenmrsObject
BaseOpenmrsObject.toString()
public Concept getConcept()
public void setConcept(Concept concept)
concept
- the concept to set@Deprecated public java.lang.String getComment()
@Deprecated public void setComment(java.lang.String comment)
comment
- The comment to set.public java.lang.Integer getConceptMapId()
public void setConceptMapId(java.lang.Integer conceptMapId)
conceptMapId
- The conceptMapId to set.@Deprecated public ConceptSource getSource()
ConceptReferenceTerm.getConceptSource()
@Deprecated public void setSource(ConceptSource source)
source
- The source to set.ConceptReferenceTerm.setConceptSource(ConceptSource)
@Deprecated public java.lang.String getSourceCode()
ConceptReferenceTerm.getCode()
@Deprecated public void setSourceCode(java.lang.String sourceCode)
sourceCode
- The sourceCode to set.ConceptReferenceTerm.setCode(String)
public ConceptReferenceTerm getConceptReferenceTerm()
public void setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
conceptReferenceTerm
- the conceptReferenceTerm to setpublic 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)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.