public class OrderFrequency extends BaseChangeableOpenmrsMetadata
Constructor and Description |
---|
OrderFrequency() |
Modifier and Type | Method and Description |
---|---|
Concept |
getConcept()
Get the concept for the drugFrequency
|
String |
getDescription() |
Double |
getFrequencyPerDay()
Get the frequencyPerDay
|
Integer |
getId() |
String |
getName() |
Integer |
getOrderFrequencyId()
Get the orderFrequencyId
|
String |
getUuid()
Get the uuid
|
void |
setConcept(Concept concept)
Sets the concept for the drugFrequency
|
void |
setFrequencyPerDay(Double frequencyPerDay) |
void |
setId(Integer id) |
void |
setOrderFrequencyId(Integer orderFrequencyId)
Sets the orderFrequencyId
|
void |
setUuid(String uuid) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, hashCode
public Integer getOrderFrequencyId()
public void setOrderFrequencyId(Integer orderFrequencyId)
orderFrequencyId
- public Double getFrequencyPerDay()
public void setFrequencyPerDay(Double frequencyPerDay)
public String getUuid()
getUuid
in interface OpenmrsObject
getUuid
in class BaseOpenmrsObject
OpenmrsObject.getUuid()
public void setUuid(String uuid)
setUuid
in interface OpenmrsObject
setUuid
in class BaseOpenmrsObject
uuid
- a universally unique id for this objectOpenmrsObject.setUuid(java.lang.String)
public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
public Concept getConcept()
public void setConcept(Concept concept)
public String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
BaseOpenmrsMetadata.getDescription()
public String getDescription()
getDescription
in interface OpenmrsMetadata
getDescription
in class BaseOpenmrsMetadata
BaseOpenmrsMetadata.getName()
public 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
Copyright © 2024 OpenMRS Inc.. All rights reserved.