Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
PCDM::Collection (and by extension Works::Collection)
PCDM::Object (and by extension Works::Work, Works::FileSet)
Active Fedora Usage
calls AF indirectly_contains method to create the member_of_collections relationship.
passes 'ActiveFedora::Base' as the class_name
passes 'ActiveFedora::Aggregation::Proxy' as the through class
May also have to address:
uses type_validator for validation. This is defined in PCDM, so it may be ok as is. Don't know if there is equivalent validation code in Valkyrie that this validator will work with.
Related work
3573 PCDM::Collection/Object - related_objects relationship defined through AF indectly_contains
Code
lib/hydra/pcdm/models/concerns/pcdm_behavior.rb
Model Usage
Active Fedora Usage
'ActiveFedora::Base'
as the class_name'ActiveFedora::Aggregation::Proxy'
as the through classMay also have to address:
type_validator
for validation. This is defined in PCDM, so it may be ok as is. Don't know if there is equivalent validation code in Valkyrie that this validator will work with.Related work
3573 PCDM::Collection/Object - related_objects relationship defined through AF indectly_contains