-
I created a Drupal Repository Object, then a Media, and uploaded a File.
The Object and the File are in Gemini and so I know they're in Fedora.
The Media object (with whatever metadata attached) d…
-
### Code
lib/hydra/pcdm/models/concerns/object.rb
### Model Usage
* PCDM::Object (and by extension Works::Work, Works::FileSet)
### Active Fedora Usage
* `class Object < ActiveFedora::B…
-
### Code
lib/hydra/pcdm/models/concerns/file.rb
### Model Usage
* PCDM::File
### Active Fedora Usage
* extends ActiveFedora::File... `class File < ActiveFedora::File`
### Related wor…
-
### Code
lib/hydra/pcdm/models/concerns/collection.rb
### Model Usage
* PCDM::Collection (and by extension Works::Collection)
### Active Fedora Usage
* `class Collection < ActiveFedora:…
-
- [x] Validate FileSet.pcdm_use so it is set to only one of the terms in the controlled vocab from #82
- [x] Test that validation happens correctly
-
### Code
lib/hydra/pcdm/models/concerns/pcdm_behavior.rb #ordered_objects
### Active Fedora Usage
* calls #ordered_members method created when defining the ActiveFedora relationship named mem…
-
### Code
lib/hydra/pcdm/models/concerns/pcdm_behavior.rb
### Model Usage
* PCDM::Collection (and by extension Works::Collection)
* PCDM::Object (and by extension Works::Work, Works::FileSet)…
-
### Code
lib/hydra/pcdm/models/concerns/pcdm_behavior.rb
### Model Usage
* PCDM::Collection (and by extension Works::Collection)
* PCDM::Object (and by extension Works::Work, Works::FileSet)…
-
### Code
lib/hydra/pcdm/models/concerns/pcdm_behavior.rb #ordered_member_ids
### Active Fedora Usage
* calls #ordered_member_proxies method created when defining the ActiveFedora relationship…
-
- [x] Test creating a work within a work
- [x] Test creating multiple filesets within a work
- [x] Test adding multiple files within a fileset