public class EncounterRole extends BaseOpenmrsMetadata
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNKNOWN_ENCOUNTER_ROLE_UUID |
Constructor and Description |
---|
EncounterRole()
default constructor
|
EncounterRole(java.lang.Integer encounterRoleId) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getEncounterRoleId() |
java.lang.Integer |
getId() |
void |
setId(java.lang.Integer id) |
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, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final java.lang.String UNKNOWN_ENCOUNTER_ROLE_UUID
public EncounterRole()
public EncounterRole(java.lang.Integer encounterRoleId)
encounterRoleId
- public 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
Object.toString()
public java.lang.Integer getId()
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(Integer)
public java.lang.Integer getEncounterRoleId()
OpenmrsObject.getId()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.