Package org.fcrepo.storage.ocfl
Class ResourceHeaders.Builder
java.lang.Object
org.fcrepo.storage.ocfl.ResourceHeaders.Builder
- Enclosing class:
ResourceHeaders
Builder for creating/mutating ResourceHeaders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withArchivalGroup(boolean archivalGroup) withArchivalGroupId(String archivalGroupId) withContentPath(String contentPath) withContentSize(long contentSize) withCreatedBy(String createdBy) withCreatedDate(Instant createdDate) withDeleted(boolean deleted) withDigests(Collection<URI> digests) withExternalHandling(String externalHandling) withExternalUrl(String externalUrl) withFilename(String filename) withHeadersVersion(String headersVersion) withInteractionModel(String interactionModel) withLastModifiedBy(String lastModifiedBy) withLastModifiedDate(Instant lastModifiedDate) withMementoCreatedDate(Instant mementoCreatedDate) withMimeType(String mimeType) withObjectRoot(boolean objectRoot) withParent(String parent) withStateToken(String stateToken)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withId
-
withParent
-
withArchivalGroupId
-
withStateToken
-
withInteractionModel
-
withMimeType
-
withFilename
-
withContentSize
-
withDigests
-
addDigest
-
withExternalUrl
-
withExternalHandling
-
withCreatedDate
-
withCreatedBy
-
withLastModifiedDate
-
withLastModifiedBy
-
withMementoCreatedDate
-
withArchivalGroup
-
withObjectRoot
-
withDeleted
-
withContentPath
-
withHeadersVersion
-
build
-