public class EncounterType extends BaseChangeableOpenmrsMetadata
Encounter
.Encounter
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
EncounterType()
default constructor
|
EncounterType(Integer encounterTypeId)
Constructor with id
Should set encounter type id with given parameter
|
EncounterType(String name,
String description)
Required values constructor.
|
Modifier and Type | Method and Description |
---|---|
Privilege |
getEditPrivilege()
Gets privilege which can edit this type of encounters
|
Integer |
getEncounterTypeId() |
Integer |
getId() |
Privilege |
getViewPrivilege()
Gets privilege which can view this type of encounters
|
void |
setEditPrivilege(Privilege editPrivilege)
Sets privilege which can edit this type of encounters
|
void |
setEncounterTypeId(Integer encounterTypeId) |
void |
setId(Integer id) |
void |
setViewPrivilege(Privilege viewPrivilege)
Sets privilege which can view this type of encounters
|
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public EncounterType()
public EncounterType(Integer encounterTypeId)
public EncounterType(String name, String description)
name
- the name of this encounter typedescription
- a short description of why this encounter type existspublic Integer getEncounterTypeId()
public void setEncounterTypeId(Integer encounterTypeId)
encounterTypeId
- The encounterTypeId to set.public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public Privilege getViewPrivilege()
public void setViewPrivilege(Privilege viewPrivilege)
viewPrivilege
- the viewPrivilege to setpublic Privilege getEditPrivilege()
public void setEditPrivilege(Privilege editPrivilege)
editPrivilege
- the editPrivilege to setCopyright © 2024 OpenMRS Inc.. All rights reserved.