public class OrderType extends BaseOpenmrsMetadata implements Serializable
Order
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
OrderType()
default constructor
|
OrderType(Integer orderTypeId)
constructor with id
|
OrderType(String name,
String description)
Convenience constructor that takes in the elements required to save this OrderType to the
database
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getId() |
Integer |
getOrderTypeId() |
int |
hashCode() |
void |
setId(Integer id) |
void |
setOrderTypeId(Integer orderTypeId) |
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 OrderType()
public OrderType(Integer orderTypeId)
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public Integer getOrderTypeId()
public void setOrderTypeId(Integer orderTypeId)
orderTypeId
- The orderTypeId 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.