Class EbXMLAdhocQueryRequest30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLAdhocQueryRequest30
- All Implemented Interfaces:
EbXMLAdhocQueryRequest<AdhocQueryRequest>,EbXMLSlotList
public class EbXMLAdhocQueryRequest30
extends Object
implements EbXMLAdhocQueryRequest<AdhocQueryRequest>
Encapsulation of
AdhocQueryRequest.- Author:
- Jens Riemschneider
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the wrapper using the real object. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a slot with a list of values.getHome()getId()getSingleSlotValue(String slotName) Gets a single slot value.getSlots()Returns a filtered list of the slots.getSlotValues(String slotName) Gets the values of a slot.voidvoidvoidsetReturnType(String returnType)
-
Constructor Details
-
EbXMLAdhocQueryRequest30
Constructs the wrapper using the real object.- Parameters:
request- the ebXML 3.0 object.
-
-
Method Details
-
getReturnType
- Specified by:
getReturnTypein interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Returns:
- the type of objects that the query should return.
-
setReturnType
- Specified by:
setReturnTypein interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Parameters:
returnType- the type of objects that the query should return.
-
getId
- Specified by:
getIdin interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Returns:
- the id of the query.
-
setId
- Specified by:
setIdin interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Parameters:
id- the id of the query.
-
getHome
- Specified by:
getHomein interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Returns:
- home community ID.
-
setHome
- Specified by:
setHomein interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Parameters:
homeCommunityID- home community ID.
-
getInternal
- Specified by:
getInternalin interfaceEbXMLAdhocQueryRequest<AdhocQueryRequest>- Returns:
- the ebXML object wrapped by this object.
-
addSlot
Description copied from interface:EbXMLSlotListAdds a slot with a list of values.- Specified by:
addSlotin interfaceEbXMLSlotList- Parameters:
slotName- the slot name.slotValues- the slot values. The slot will not be created if this parameter is empty ornull.
-
getSlotValues
Description copied from interface:EbXMLSlotListGets the values of a slot.- Specified by:
getSlotValuesin interfaceEbXMLSlotList- Parameters:
slotName- the name of the slot. It is expected that the name is only used for a single slot. UseEbXMLSlotList.getSlots(String)if it is possible that the name is used multiple times.- Returns:
- the list of slot values.
-
getSingleSlotValue
Description copied from interface:EbXMLSlotListGets a single slot value.- Specified by:
getSingleSlotValuein interfaceEbXMLSlotList- Parameters:
slotName- the name of the slot. It is expected that the name is only used for a single slot. UseEbXMLSlotList.getSlots(String)if it is possible that the name is used multiple times.- Returns:
- the first slot value. Other slot values are ignored. Can be
nullif the slot does not exist, has no slot values or the value isnull.
-
getSlots
- Specified by:
getSlotsin interfaceEbXMLSlotList- Returns:
- the complete list of all slots.
-
getSlots
Description copied from interface:EbXMLSlotListReturns a filtered list of the slots.- Specified by:
getSlotsin interfaceEbXMLSlotList- Parameters:
slotName- name of the slots.- Returns:
- the list of slots named with the given slot name.
-