public class ConceptMap extends BaseConceptMap
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(Integer conceptMapId)
constructor with concept map id
|
Modifier and Type | Method and Description |
---|---|
Concept |
getConcept() |
Integer |
getConceptMapId() |
ConceptReferenceTerm |
getConceptReferenceTerm() |
Integer |
getId() |
void |
setConcept(Concept concept) |
void |
setConceptMapId(Integer conceptMapId) |
void |
setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
void |
setId(Integer id) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
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(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 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
BaseOpenmrsObject.toString()
public Concept getConcept()
public void setConcept(Concept concept)
concept
- the concept to setpublic Integer getConceptMapId()
public void setConceptMapId(Integer conceptMapId)
conceptMapId
- The conceptMapId to set.public ConceptReferenceTerm getConceptReferenceTerm()
public void setConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm)
conceptReferenceTerm
- the conceptReferenceTerm to setpublic Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2024 OpenMRS Inc.. All rights reserved.