Class: Cocina::Models::DRO

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

Overview

Domain-defined abstraction of a ‘work’. Digital Repository Objects’ abstraction is describable for our domain’s purposes, i.e. for management needs within our system.

Constant Summary collapse

TYPES =
['https://cocina.sul.stanford.edu/models/object',
'https://cocina.sul.stanford.edu/models/3d',
'https://cocina.sul.stanford.edu/models/agreement',
'https://cocina.sul.stanford.edu/models/book',
'https://cocina.sul.stanford.edu/models/document',
'https://cocina.sul.stanford.edu/models/geo',
'https://cocina.sul.stanford.edu/models/image',
'https://cocina.sul.stanford.edu/models/page',
'https://cocina.sul.stanford.edu/models/photograph',
'https://cocina.sul.stanford.edu/models/manuscript',
'https://cocina.sul.stanford.edu/models/map',
'https://cocina.sul.stanford.edu/models/media',
'https://cocina.sul.stanford.edu/models/track',
'https://cocina.sul.stanford.edu/models/webarchive-binary',
'https://cocina.sul.stanford.edu/models/webarchive-seed'].freeze

Method Summary

Methods included from Checkable

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

Methods included from Validatable

#new