Class BagitProfile
java.lang.Object
nl.knaw.dans.bagit.conformance.profile.BagitProfile
POJO for all the bagit profile fields.
A bagit profile is used to ensure the bag metadata contains all required elements and optional elements follow allowed values
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
void
setAcceptableBagitVersions
(List<String> acceptBagitVersion) void
setAcceptableMIMESerializationTypes
(List<String> acceptSerialization) void
setBagInfoRequirements
(Map<String, BagInfoRequirement> bagInfo) void
setBagitProfileIdentifier
(String bagitProfileIdentifier) void
setContactEmail
(String contactEmail) void
setContactName
(String contactName) void
setContactPhone
(String contactPhone) void
setExternalDescription
(String externalDescription) void
setFetchFileAllowed
(boolean allowFetchFile) void
setManifestTypesRequired
(List<String> manifestsRequired) void
setSerialization
(Serialization serialization) void
setSourceOrganization
(String sourceOrganization) void
setTagFilesRequired
(List<String> tagFilesRequired) void
setTagManifestTypesRequired
(List<String> tagManifestsRequired) void
setVersion
(String version) toString()
-
Field Details
-
bagitProfileIdentifier
-
sourceOrganization
-
externalDescription
-
contactName
-
contactEmail
-
contactPhone
-
version
-
bagInfoRequirements
-
manifestTypesRequired
-
fetchFileAllowed
private boolean fetchFileAllowed -
serialization
-
acceptableMIMESerializationTypes
-
acceptableBagitVersions
-
tagManifestTypesRequired
-
tagFilesRequired
-
-
Constructor Details
-
BagitProfile
public BagitProfile()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getBagInfoRequirements
-
setBagInfoRequirements
-
getManifestTypesRequired
-
setManifestTypesRequired
-
isFetchFileAllowed
public boolean isFetchFileAllowed() -
setFetchFileAllowed
public void setFetchFileAllowed(boolean allowFetchFile) -
getSerialization
-
setSerialization
-
getAcceptableMIMESerializationTypes
-
setAcceptableMIMESerializationTypes
-
getAcceptableBagitVersions
-
setAcceptableBagitVersions
-
getTagManifestTypesRequired
-
setTagManifestTypesRequired
-
getTagFilesRequired
-
setTagFilesRequired
-
getBagitProfileIdentifier
-
setBagitProfileIdentifier
-
getSourceOrganization
-
setSourceOrganization
-
getExternalDescription
-
setExternalDescription
-
getContactName
-
setContactName
-
getContactEmail
-
setContactEmail
-
getContactPhone
-
setContactPhone
-
getVersion
-
setVersion
-