Module: Hyrax::FileSet::Characterization

Extended by:
ActiveSupport::Concern
Included in:
Hyrax::FileSetBehavior
Defined in:
app/models/concerns/hyrax/file_set/characterization.rb

Overview

This module points the FileSet to the location of the technical metadata. By default, the file holding the metadata is :original_file and the terms are listed under .characterization_terms.

Implementations may define their own terms or use a different source file, but any terms must be set on the .characterization_proxy by the Hydra::Works::CharacterizationService.

Examples:

class MyFileSet
  include Hyrax::FileSetBehavior
end

MyFileSet.characterization_proxy = :master_file
MyFileSet.characterization_terms = [:term1, :term2, :term3]

Defined Under Namespace

Classes: AlphaChannelsSchema, FileSetIdSchema, NullCharacterizationProxy