public class OrderSet extends BaseCustomizableMetadata<OrderSetAttribute>
Modifier and Type | Class and Description |
---|---|
static class |
OrderSet.Operator
Restrictions put on saving an orderSet.
|
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
OrderSet() |
Modifier and Type | Method and Description |
---|---|
void |
addOrderSetMember(OrderSetMember orderSetMember)
Adds an orderSetMember to the existing list of orderSetMembers
|
void |
addOrderSetMember(OrderSetMember orderSetMember,
Integer position)
Adds an orderSetMember to the existing list of orderSetMembers
|
Concept |
getCategory()
Gets the category
|
Integer |
getId() |
OrderSet.Operator |
getOperator()
Gets the operator
|
Integer |
getOrderSetId()
Gets the orderSetId
|
List<OrderSetMember> |
getOrderSetMembers()
Gets the orderSetMembers
|
List<OrderSetMember> |
getUnRetiredOrderSetMembers()
Fetches the list of orderSetMembers that are not retired
|
void |
removeOrderSetMember(OrderSetMember orderSetMember)
Removes and orderSetMember from a list of existing orderSetMembers
|
void |
retireOrderSetMember(OrderSetMember orderSetMember)
Retires an orderSetMember
|
void |
setCategory(Concept category)
Sets the category
|
void |
setId(Integer id) |
void |
setOperator(OrderSet.Operator operator)
Sets the operator
|
void |
setOrderSetId(Integer orderSetId)
Sets the orderSetId
|
void |
setOrderSetMembers(List<OrderSetMember> orderSetMembers)
Sets the orderSetMembers
|
addAttribute, getActiveAttributes, getActiveAttributes, getAttributes, setAttribute, setAttributes
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 Integer getOrderSetId()
public void setOrderSetId(Integer orderSetId)
orderSetId
- the orderSetId to setpublic OrderSet.Operator getOperator()
public void setOperator(OrderSet.Operator operator)
operator
- the operator to setpublic List<OrderSetMember> getOrderSetMembers()
public void setOrderSetMembers(List<OrderSetMember> orderSetMembers)
orderSetMembers
- the orderSetMembers to setpublic Concept getCategory()
public void setCategory(Concept category)
category
- category to setpublic void addOrderSetMember(OrderSetMember orderSetMember, Integer position)
orderSetMember
- the new orderSetMember to be addedposition
- the position where it is to be added, if position is null it adds to the last positionpublic void addOrderSetMember(OrderSetMember orderSetMember)
orderSetMember
- the new orderSetMember to be added at the end of the current list of order set memberspublic Integer getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectpublic List<OrderSetMember> getUnRetiredOrderSetMembers()
public void removeOrderSetMember(OrderSetMember orderSetMember)
orderSetMember
- that is to be removedpublic void retireOrderSetMember(OrderSetMember orderSetMember)
orderSetMember
- to be retiredCopyright © 2024 OpenMRS Inc.. All rights reserved.