Class: ActiveFedora::Reflection::FilterReflection
- Inherits:
-
AssociationReflection
- Object
- AbstractReflection
- MacroReflection
- AssociationReflection
- ActiveFedora::Reflection::FilterReflection
- Defined in:
- lib/active_fedora/reflection.rb
Constant Summary
Constants inherited from AssociationReflection
AssociationReflection::INVALID_AUTOMATIC_INVERSE_OPTIONS, AssociationReflection::VALID_AUTOMATIC_INVERSE_MACROS
Instance Attribute Summary
Attributes inherited from AssociationReflection
Attributes inherited from MacroReflection
#active_fedora, #name, #options, #scope
Instance Method Summary collapse
Methods inherited from AssociationReflection
#belongs_to?, #check_validity!, #check_validity_of_inverse!, #collect_join_chain, #constructable?, #create_association, #foreign_key, #has_and_belongs_to_many?, #has_inverse?, #has_many?, #initialize, #inverse_of, #predicate, #predicate_for_solr, #solr_key, #validate?
Methods inherited from MacroReflection
#==, #autosave=, #compute_class, #initialize, #klass
Methods inherited from AbstractReflection
#alias_candidate, #build_association, #chain, #check_validity_of_inverse!, #class_name, #constraints, #inverse_of, #through_reflection?
Constructor Details
This class inherits a constructor from ActiveFedora::Reflection::AssociationReflection
Instance Method Details
#association_class ⇒ Object
621 622 623 |
# File 'lib/active_fedora/reflection.rb', line 621 def association_class Associations::FilterAssociation end |
#collection? ⇒ Boolean
632 633 634 |
# File 'lib/active_fedora/reflection.rb', line 632 def collection? true end |
#extending_from ⇒ Object
628 629 630 |
# File 'lib/active_fedora/reflection.rb', line 628 def extending_from @extending_from ||= active_fedora._reflect_on_association(.fetch(:extending_from)) end |
#macro ⇒ Object
617 618 619 |
# File 'lib/active_fedora/reflection.rb', line 617 def macro :filter end |