Class: Cocina::Models::Collection

Inherits:
Struct
  • Object
show all
Includes:
Checkable, Validatable
Defined in:
lib/cocina/models/collection.rb

Overview

A group of Digital Repository Objects that indicate some type of conceptual grouping within the domain that is worth reusing across the system.

Constant Summary collapse

TYPES =
['https://cocina.sul.stanford.edu/models/collection',
'https://cocina.sul.stanford.edu/models/curated-collection',
'https://cocina.sul.stanford.edu/models/user-collection',
'https://cocina.sul.stanford.edu/models/exhibit',
'https://cocina.sul.stanford.edu/models/series'].freeze

Method Summary

Methods included from Checkable

#admin_policy?, #collection?, #dro?, #file?, #file_set?

Methods included from Validatable

#new