Class RegisterDocumentSetBuilder
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.builder.RegisterDocumentSetBuilder
Builder for
RegisterDocumentSet
objects.-
Constructor Summary
ConstructorDescriptionRegisterDocumentSetBuilder
(boolean autoGenerate, SubmissionSet submissionSet) -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> void
assignDefault
(T objectToCheck, Function<T, Object> nullCheck, Consumer<T> defaultAssignment) build()
doBuild
(SubmissionSet submissionSet, List<Folder> folders, List<DocumentEntry> documents, List<Association> associations) withAssociation
(Association association) withAssociations
(List<Association> associations) withDocuments
(List<DocumentEntry> docs) withFolder
(Folder folder) withFolders
(List<Folder> folders)
-
Constructor Details
-
RegisterDocumentSetBuilder
-
-
Method Details
-
doBuild
public RegisterDocumentSet doBuild(SubmissionSet submissionSet, List<Folder> folders, List<DocumentEntry> documents, List<Association> associations) -
withDocument
-
withDocuments
-
withFolder
-
withFolders
-
withAssociation
-
withAssociations
-
build
-
assignDefault
-