Class BagitProfile

java.lang.Object
nl.knaw.dans.bagit.conformance.profile.BagitProfile

public class BagitProfile extends Object
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 Details

    • bagitProfileIdentifier

      private String bagitProfileIdentifier
    • sourceOrganization

      private String sourceOrganization
    • externalDescription

      private String externalDescription
    • contactName

      private String contactName
    • contactEmail

      private String contactEmail
    • contactPhone

      private String contactPhone
    • version

      private String version
    • bagInfoRequirements

      private Map<String,BagInfoRequirement> bagInfoRequirements
    • manifestTypesRequired

      private List<String> manifestTypesRequired
    • fetchFileAllowed

      private boolean fetchFileAllowed
    • serialization

      private Serialization serialization
    • acceptableMIMESerializationTypes

      private List<String> acceptableMIMESerializationTypes
    • acceptableBagitVersions

      private List<String> acceptableBagitVersions
    • tagManifestTypesRequired

      private List<String> tagManifestTypesRequired
    • tagFilesRequired

      private List<String> tagFilesRequired
  • Constructor Details

    • BagitProfile

      public BagitProfile()
  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBagInfoRequirements

      public Map<String,BagInfoRequirement> getBagInfoRequirements()
    • setBagInfoRequirements

      public void setBagInfoRequirements(Map<String,BagInfoRequirement> bagInfo)
    • getManifestTypesRequired

      public List<String> getManifestTypesRequired()
    • setManifestTypesRequired

      public void setManifestTypesRequired(List<String> manifestsRequired)
    • isFetchFileAllowed

      public boolean isFetchFileAllowed()
    • setFetchFileAllowed

      public void setFetchFileAllowed(boolean allowFetchFile)
    • getSerialization

      public Serialization getSerialization()
    • setSerialization

      public void setSerialization(Serialization serialization)
    • getAcceptableMIMESerializationTypes

      public List<String> getAcceptableMIMESerializationTypes()
    • setAcceptableMIMESerializationTypes

      public void setAcceptableMIMESerializationTypes(List<String> acceptSerialization)
    • getAcceptableBagitVersions

      public List<String> getAcceptableBagitVersions()
    • setAcceptableBagitVersions

      public void setAcceptableBagitVersions(List<String> acceptBagitVersion)
    • getTagManifestTypesRequired

      public List<String> getTagManifestTypesRequired()
    • setTagManifestTypesRequired

      public void setTagManifestTypesRequired(List<String> tagManifestsRequired)
    • getTagFilesRequired

      public List<String> getTagFilesRequired()
    • setTagFilesRequired

      public void setTagFilesRequired(List<String> tagFilesRequired)
    • getBagitProfileIdentifier

      public String getBagitProfileIdentifier()
    • setBagitProfileIdentifier

      public void setBagitProfileIdentifier(String bagitProfileIdentifier)
    • getSourceOrganization

      public String getSourceOrganization()
    • setSourceOrganization

      public void setSourceOrganization(String sourceOrganization)
    • getExternalDescription

      public String getExternalDescription()
    • setExternalDescription

      public void setExternalDescription(String externalDescription)
    • getContactName

      public String getContactName()
    • setContactName

      public void setContactName(String contactName)
    • getContactEmail

      public String getContactEmail()
    • setContactEmail

      public void setContactEmail(String contactEmail)
    • getContactPhone

      public String getContactPhone()
    • setContactPhone

      public void setContactPhone(String contactPhone)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)