public class EncounterRole extends BaseChangeableOpenmrsMetadata
Modifier and Type | Field and Description |
---|---|
static String |
UNKNOWN_ENCOUNTER_ROLE_UUID |
Constructor and Description |
---|
EncounterRole()
default constructor
|
EncounterRole(Integer encounterRoleId) |
Modifier and Type | Method and Description |
---|---|
Integer |
getEncounterRoleId() |
Integer |
getId() |
void |
setId(Integer id) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
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 String UNKNOWN_ENCOUNTER_ROLE_UUID
public EncounterRole()
public EncounterRole(Integer encounterRoleId)
encounterRoleId
- Should set encounter role idpublic 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
Should not fail with empty object
public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(Integer)
public Integer getEncounterRoleId()
OpenmrsObject.getId()
Copyright © 2024 OpenMRS Inc.. All rights reserved.