Class: Hyrax::FileSet

Inherits:
Resource
  • Object
show all
Defined in:
app/models/hyrax/file_set.rb,
app/models/concerns/hyrax/file_set/indexing.rb,
app/models/concerns/hyrax/file_set/querying.rb,
app/models/concerns/hyrax/file_set/derivatives.rb,
app/models/concerns/hyrax/file_set/belongs_to_works.rb,
app/models/concerns/hyrax/file_set/characterization.rb

Overview

Valkyrie model for ‘FileSet` domain objects in the Hydra Works model.

Defined Under Namespace

Modules: BelongsToWorks, Characterization, Derivatives, Indexing, Querying

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#collection?, #file?, human_readable_type, #permission_manager, #visibility, #visibility=, #work?

Methods included from WithEvents

#event_class, #events, #log_event, #stream

Class Method Details

.model_name(name_class: Hyrax::Name) ⇒ Object



12
13
14
15
16
# File 'app/models/hyrax/file_set.rb', line 12

def self.model_name(name_class: Hyrax::Name)
  @_model_name ||= begin
    name_class.new(self, nil, 'FileSet')
  end
end

Instance Method Details

#file_set?Boolean

Returns true.

Returns:

  • (Boolean)

    true



31
32
33
# File 'app/models/hyrax/file_set.rb', line 31

def file_set?
  true
end

#pcdm_object?Boolean

Returns true.

Returns:

  • (Boolean)

    true



25
26
27
# File 'app/models/hyrax/file_set.rb', line 25

def pcdm_object?
  true
end