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