public class EbXMLAdhocQueryRequest30 extends Object implements EbXMLAdhocQueryRequest
AdhocQueryRequest
.Constructor and Description |
---|
EbXMLAdhocQueryRequest30(AdhocQueryRequest request)
Constructs the wrapper using the real object.
|
Modifier and Type | Method and Description |
---|---|
void |
addSlot(String slotName,
String... slotValues)
Adds a slot with a list of values.
|
String |
getHome() |
String |
getId() |
AdhocQueryRequest |
getInternal() |
String |
getReturnType() |
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.
|
String |
getSql() |
void |
setHome(String homeCommunityID) |
void |
setId(String id) |
void |
setReturnType(String returnType) |
void |
setSql(String sql) |
public EbXMLAdhocQueryRequest30(AdhocQueryRequest request)
request
- the ebXML 3.0 object.public String getSql()
getSql
in interface EbXMLAdhocQueryRequest
public void setSql(String sql)
setSql
in interface EbXMLAdhocQueryRequest
sql
- SQL string used by the query.public String getReturnType()
getReturnType
in interface EbXMLAdhocQueryRequest
public void setReturnType(String returnType)
setReturnType
in interface EbXMLAdhocQueryRequest
returnType
- the type of objects that the query should return.public String getId()
getId
in interface EbXMLAdhocQueryRequest
public void setId(String id)
setId
in interface EbXMLAdhocQueryRequest
id
- the id of the query.public String getHome()
getHome
in interface EbXMLAdhocQueryRequest
public void setHome(String homeCommunityID)
setHome
in interface EbXMLAdhocQueryRequest
homeCommunityID
- home community ID.public AdhocQueryRequest getInternal()
getInternal
in interface EbXMLAdhocQueryRequest
@Generated(value="lombok") public void addSlot(String slotName, String... slotValues)
EbXMLSlotList
addSlot
in interface EbXMLSlotList
slotName
- the slot name.slotValues
- the slot values. The slot will not be created if this parameter is
empty or null
.@Generated(value="lombok") public List<String> getSlotValues(String slotName)
EbXMLSlotList
getSlotValues
in interface EbXMLSlotList
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use EbXMLSlotList.getSlots(String)
if it is possible that
the name is used multiple times.@Generated(value="lombok") public String getSingleSlotValue(String slotName)
EbXMLSlotList
getSingleSlotValue
in interface EbXMLSlotList
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use EbXMLSlotList.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
.@Generated(value="lombok") public List<EbXMLSlot> getSlots()
getSlots
in interface EbXMLSlotList
@Generated(value="lombok") public List<EbXMLSlot> getSlots(String slotName)
EbXMLSlotList
getSlots
in interface EbXMLSlotList
slotName
- name of the slots.Copyright © 2018 Open eHealth Foundation. All rights reserved.