You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By defining a filters_association, you get the following methods defined that provide getters/setters with the method name in as: and validation using the method specified in condition:.
child_objects=# validate with pcdm_object?child_objects+= # validate with pcdm_object?child_objects<< # validate with pcdm_object?child_objects# filter to return only objectschild_collections=# validate with pcdm_collection?child_collections+= # validate with pcdm_collection?child_collections<< # validate with pcdm_collection?child_collections# filter to return only collectionsmembers=# validate with pcdm_object and pcdm_collection?members+= # validate with pcdm_object and pcdm_collection?members<< # validate with pcdm_object and pcdm_collection?members# return everything in the aggregation
The text was updated successfully, but these errors were encountered:
Deleting objects also needs to be taken into consideration.
child_objects.deleteobj# delete first occurrence of objchild_objects.deleteobj,nth# delete nth occurrence of obj relative to the filtered list of child_objectschild_collections.deletecol# delete first occurrence of colchild_collections.deletecol,nth# delete nth occurrence of col relative to the filtered list of child_collectionsmembers.deleteobj# delete first occurrence of objmembers.deleteobj,nth# delete nth occurrence of obj relative to all membersmembers.deletecol# delete first occurrence of colmembers.deleteobj,nth# delete nth occurrence of col relative to all members
Reference: https://github.com/projecthydra-labs/hydra-pcdm/wiki/Proposed-Interfaces#defining-an-aggregation-with-multiple-filters
Example definition:
By defining a filters_association, you get the following methods defined that provide getters/setters with the method name in as: and validation using the method specified in condition:.
The text was updated successfully, but these errors were encountered: