public class EbXMLProvideAndRegisterDocumentSetRequest30 extends EbXMLObjectContainer30 implements EbXMLProvideAndRegisterDocumentSetRequest
ProvideAndRegisterDocumentSetRequestType
Constructor and Description |
---|
EbXMLProvideAndRegisterDocumentSetRequest30(ProvideAndRegisterDocumentSetRequestType request)
Constructs a request by wrapping the given ebXML 3.0 object using a new object library.
|
EbXMLProvideAndRegisterDocumentSetRequest30(ProvideAndRegisterDocumentSetRequestType request,
EbXMLObjectLibrary objectLibrary)
Constructs a request by wrapping the given ebXML 3.0 object.
|
Modifier and Type | Method and Description |
---|---|
void |
addDocument(String id,
DataHandler dataHandler)
Adds a new document to the request.
|
void |
addSlot(String slotName,
String... slotValues)
Adds a slot with a list of values.
|
Map<String,DataHandler> |
getDocuments() |
ProvideAndRegisterDocumentSetRequestType |
getInternal() |
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.
|
void |
removeDocument(String id)
Removes a document from the request.
|
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, cast, fillObjectLibrary, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
public EbXMLProvideAndRegisterDocumentSetRequest30(ProvideAndRegisterDocumentSetRequestType request, EbXMLObjectLibrary objectLibrary)
request
- the object to wrap.objectLibrary
- the object library to use.public EbXMLProvideAndRegisterDocumentSetRequest30(ProvideAndRegisterDocumentSetRequestType request)
request
- the object to wrap.public void addDocument(String id, DataHandler dataHandler)
EbXMLProvideAndRegisterDocumentSetRequest
addDocument
in interface EbXMLProvideAndRegisterDocumentSetRequest
id
- the id of the document.dataHandler
- the data handler allowing access and describing to the document contents.public void removeDocument(String id)
EbXMLProvideAndRegisterDocumentSetRequest
removeDocument
in interface EbXMLProvideAndRegisterDocumentSetRequest
id
- the id of the document.public Map<String,DataHandler> getDocuments()
getDocuments
in interface EbXMLProvideAndRegisterDocumentSetRequest
public ProvideAndRegisterDocumentSetRequestType getInternal()
getInternal
in interface EbXMLSubmitObjectsRequest
@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.