public interface EbXMLSlotList
Modifier and Type | Method and Description |
---|---|
void |
addSlot(String slotName,
String... slotValues)
Adds a slot with a list of values.
|
String |
getSingleSlotValue(String slotName)
Gets a single slot value.
|
List<EbXMLSlot> |
getSlots() |
List<EbXMLSlot> |
getSlots(String slotName)
Returns a filtered list of the slots.
|
List<String> |
getSlotValues(String slotName)
Gets the values of a slot.
|
List<EbXMLSlot> getSlots(String slotName)
slotName
- name of the slots.void addSlot(String slotName, String... slotValues)
slotName
- the slot name.slotValues
- the slot values. The slot will not be created if this parameter is
empty or null
.List<String> getSlotValues(String slotName)
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use getSlots(String)
if it is possible that
the name is used multiple times.String getSingleSlotValue(String slotName)
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use getSlots(String)
if it is possible that
the name is used multiple times.null
if the slot does not exist, has no slot values
or the value is null
.Copyright © 2018 Open eHealth Foundation. All rights reserved.