Class EbXMLRemoveMetadataRequest30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLRemoveMetadataRequest30
- All Implemented Interfaces:
EbXMLAdhocQueryRequest<RemoveObjectsRequest>
,EbXMLRemoveMetadataRequest<RemoveObjectsRequest>
,EbXMLSlotList
public class EbXMLRemoveMetadataRequest30
extends Object
implements EbXMLRemoveMetadataRequest<RemoveObjectsRequest>
Encapsulation of
RemoveObjectsRequest
- Author:
- Boris Stanojevic
-
Constructor Summary
ConstructorDescriptionEbXMLRemoveMetadataRequest30
(RemoveObjectsRequest removeObjectsRequest) Constructs a request by wrapping the given ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds 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.void
setDeletionScope
(String deletionScope) Sets the deletionScope of the remove request.void
void
void
setReferences
(List<ObjectReference> references) Sets the object references of the remove request.void
setReturnType
(String returnType)
-
Constructor Details
-
EbXMLRemoveMetadataRequest30
Constructs a request by wrapping the given ebXML 3.0 object.- Parameters:
removeObjectsRequest
- the object to wrap.
-
-
Method Details
-
setReferences
Description copied from interface:EbXMLRemoveMetadataRequest
Sets the object references of the remove request.- Specified by:
setReferences
in interfaceEbXMLRemoveMetadataRequest<RemoveObjectsRequest>
- Parameters:
references
- the object references.
-
getReferences
- Specified by:
getReferences
in interfaceEbXMLRemoveMetadataRequest<RemoveObjectsRequest>
- Returns:
- the object reference of the remove request.
-
getDeletionScope
- Specified by:
getDeletionScope
in interfaceEbXMLRemoveMetadataRequest<RemoveObjectsRequest>
- Returns:
- the deletionScope of the remove request.
-
setDeletionScope
Description copied from interface:EbXMLRemoveMetadataRequest
Sets the deletionScope of the remove request.- Specified by:
setDeletionScope
in interfaceEbXMLRemoveMetadataRequest<RemoveObjectsRequest>
-
setReturnType
- Specified by:
setReturnType
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Parameters:
returnType
- the type of objects that the query should return.
-
getReturnType
- Specified by:
getReturnType
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Returns:
- the type of objects that the query should return.
-
setId
- Specified by:
setId
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Parameters:
id
- the id of the query.
-
getId
- Specified by:
getId
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Returns:
- the id of the query.
-
setHome
- Specified by:
setHome
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Parameters:
homeCommunityID
- home community ID.
-
getHome
- Specified by:
getHome
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Returns:
- home community ID.
-
getInternal
- Specified by:
getInternal
in interfaceEbXMLAdhocQueryRequest<RemoveObjectsRequest>
- Returns:
- the ebXML object wrapped by this object.
-
addSlot
Description copied from interface:EbXMLSlotList
Adds a slot with a list of values.- Specified by:
addSlot
in 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:EbXMLSlotList
Gets the values of a slot.- Specified by:
getSlotValues
in 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:EbXMLSlotList
Gets a single slot value.- Specified by:
getSingleSlotValue
in 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
null
if the slot does not exist, has no slot values or the value isnull
.
-
getSlots
- Specified by:
getSlots
in interfaceEbXMLSlotList
- Returns:
- the complete list of all slots.
-
getSlots
Description copied from interface:EbXMLSlotList
Returns a filtered list of the slots.- Specified by:
getSlots
in interfaceEbXMLSlotList
- Parameters:
slotName
- name of the slots.- Returns:
- the list of slots named with the given slot name.
-