Sha256: 459ba78e75cc928ddd1ef58f3f1cc6d037f12ccd74bf8e16c6aeb552c8268c96
Contents?: true
Size: 656 Bytes
Versions: 3
Compression:
Stored size: 656 Bytes
Contents
# Include this into models to specify that the descMetadata datastream contains basic MODS metadata # # Explicitly declares: # descMetadata datastream using Hydra::Datastream::ModsArticle Terminology # # will move to lib/hydra/model/mods_object_behavior in release 5.x 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::Datastream::ModsArticle # Ensure that objects assert the modsObject cModel # klazz.relationships << :has_model => "info:fedora/hydra-cModel:modsObject" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydra-head-4.0.3 | lib/hydra/model_mixins/mods_object.rb |
hydra-head-4.0.2 | lib/hydra/model_mixins/mods_object.rb |
hydra-head-4.0.1 | lib/hydra/model_mixins/mods_object.rb |