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 related_objects 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
3574 PCDM::Collection/Object - member_of_collections relationship defined through AF indectly_contains
This relationship is not used in Hyrax. A comment was added in PR#3677 that it would not be converted until such time that this relationship is needed.
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
3574 PCDM::Collection/Object - member_of_collections relationship defined through AF indectly_contains