Sha256: 0d7e1aa90841f4ad9b42386544d21e94be2772c2f16cff1ac6afd3ecae8f0be8

Contents?: true

Size: 1.03 KB

Versions: 45

Compression:

Stored size: 1.03 KB

Contents

require 'active_fedora'

module Ddr
  module Datastreams
    extend ActiveSupport::Autoload

    ADMIN_METADATA = "adminMetadata"
    CONTENT = "content"
    DC = "DC"
    DEFAULT_RIGHTS = "defaultRights"
    DESC_METADATA = "descMetadata"
    EXTRACTED_TEXT = "extractedText"
    FITS = "fits".freeze
    MULTIRES_IMAGE = "multiresImage"
    RELS_EXT = "RELS-EXT"
    RIGHTS_METADATA = "rightsMetadata"
    STRUCT_METADATA = "structMetadata"
    THUMBNAIL = "thumbnail"

    CHECKSUM_TYPE_MD5 = "MD5"
    CHECKSUM_TYPE_SHA1 = "SHA-1"
    CHECKSUM_TYPE_SHA256 = "SHA-256"
    CHECKSUM_TYPE_SHA384 = "SHA-384"
    CHECKSUM_TYPE_SHA512 = "SHA-512"

    CHECKSUM_TYPES = [ CHECKSUM_TYPE_MD5, CHECKSUM_TYPE_SHA1, CHECKSUM_TYPE_SHA256, CHECKSUM_TYPE_SHA384, CHECKSUM_TYPE_SHA512 ]

    autoload :AdministrativeMetadataDatastream
    autoload :DatastreamBehavior
    autoload :DescriptiveMetadataDatastream
    autoload :FitsDatastream
    autoload :MetadataDatastream
    autoload :PlainTextDatastream
    autoload :StructuralMetadataDatastream

  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ddr-models-2.1.2 lib/ddr/datastreams.rb
ddr-models-2.1.1 lib/ddr/datastreams.rb
ddr-models-2.1.0 lib/ddr/datastreams.rb
ddr-models-2.1.0.rc2 lib/ddr/datastreams.rb
ddr-models-2.1.0.rc1 lib/ddr/datastreams.rb