public class VisitType extends BaseChangeableOpenmrsMetadata
Constructor and Description |
---|
VisitType()
default constructor
|
VisitType(Integer visitTypeId)
Constructor with id
Should set visit type id with given parameter
|
VisitType(String name,
String description)
Required values constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getId() |
Integer |
getVisitTypeId() |
void |
setId(Integer id) |
void |
setVisitTypeId(Integer visitTypeId) |
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 VisitType()
public VisitType(Integer visitTypeId)
public VisitType(String name, String description)
name
- the name of this visit typedescription
- a short description of why this visit type existspublic Integer getVisitTypeId()
public void setVisitTypeId(Integer visitTypeId)
visitTypeId
- the visitTypeId to set.public 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.