Class: Hyrax::PcdmCollection
- Defined in:
- app/models/hyrax/pcdm_collection.rb
Overview
Valkyrie model for Collection domain objects in the Hydra Works model.
Class Method Summary collapse
-
._hyrax_default_name_class ⇒ Class
private
An ActiveModel::Name compatible class.
Instance Method Summary collapse
-
#collection? ⇒ Boolean
True.
-
#pcdm_object? ⇒ Boolean
True.
Methods inherited from Resource
#file?, #file_set?, human_readable_type, #permission_manager, #visibility, #visibility=, #work?
Methods included from WithEvents
#event_class, #events, #log_event, #stream
Class Method Details
._hyrax_default_name_class ⇒ Class
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns an ActiveModel::Name compatible class.
19 20 21 |
# File 'app/models/hyrax/pcdm_collection.rb', line 19 def self._hyrax_default_name_class Hyrax::CollectionName end |
Instance Method Details
#collection? ⇒ Boolean
Returns true.
25 26 27 |
# File 'app/models/hyrax/pcdm_collection.rb', line 25 def collection? true end |
#pcdm_object? ⇒ Boolean
Returns true.
31 32 33 |
# File 'app/models/hyrax/pcdm_collection.rb', line 31 def pcdm_object? true end |