Sha256: 672f4661ef502746c05db4a482d1c893843b3856650f2bd4383f23e1fc7b8afd
Contents?: true
Size: 564 Bytes
Versions: 29
Compression:
Stored size: 564 Bytes
Contents
# Include this into models to specify that the descMetadata datastream contains basic MODS metadata # # Explicitly declares: # descMetadata datastream using Hydra::ModsArticle Terminology # module Hydra::ModelMixins::ModsObject def self.included(klazz) # Uses the Hydra MODS Basic profile for tracking descriptive metadata klazz.has_metadata :name => "descMetadata", :type => Hydra::ModsArticle # Ensure that objects assert the modsObject cModel # klazz.relationships << :has_model => "info:fedora/hydra-cModel:modsObject" end end
Version data entries
29 entries across 29 versions & 1 rubygems