public class EncounterType extends BaseOpenmrsMetadata implements Serializable
Encounter
.Encounter
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
EncounterType()
default constructor
|
EncounterType(Integer encounterTypeId)
Constructor with id
|
EncounterType(String name,
String description)
Required values constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two EncounterType objects for similarity
|
Integer |
getEncounterTypeId() |
Integer |
getId() |
int |
hashCode() |
void |
setEncounterTypeId(Integer encounterTypeId) |
void |
setId(Integer id) |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, toString, 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 boolean equals(Object obj)
equals
in class Object
obj
- public int hashCode()
hashCode
in class Object
Object.hashCode()
public Integer getEncounterTypeId()
public void setEncounterTypeId(Integer encounterTypeId)
encounterTypeId
- The encounterTypeId to set.public Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.