Class: ActiveFedora::Reflection::OrdersReflection
- Inherits:
-
AssociationReflection
- Object
- AbstractReflection
- MacroReflection
- AssociationReflection
- ActiveFedora::Reflection::OrdersReflection
- 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
- #association_class ⇒ Object
- #class_name ⇒ Object
- #collection? ⇒ Boolean
- #klass ⇒ Object
- #macro ⇒ Object
- #unordered_reflection ⇒ Object
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
Methods inherited from AbstractReflection
#alias_candidate, #build_association, #chain, #check_validity_of_inverse!, #constraints, #inverse_of, #through_reflection?
Constructor Details
This class inherits a constructor from ActiveFedora::Reflection::AssociationReflection
Instance Method Details
#association_class ⇒ Object
642 643 644 |
# File 'lib/active_fedora/reflection.rb', line 642 def association_class Associations::OrdersAssociation end |
#class_name ⇒ Object
650 651 652 |
# File 'lib/active_fedora/reflection.rb', line 650 def class_name klass.to_s end |
#collection? ⇒ Boolean
646 647 648 |
# File 'lib/active_fedora/reflection.rb', line 646 def collection? true end |
#klass ⇒ Object
658 659 660 |
# File 'lib/active_fedora/reflection.rb', line 658 def klass ActiveFedora::Orders::ListNode end |
#macro ⇒ Object
638 639 640 |
# File 'lib/active_fedora/reflection.rb', line 638 def macro :orders end |
#unordered_reflection ⇒ Object
654 655 656 |
# File 'lib/active_fedora/reflection.rb', line 654 def unordered_reflection [:unordered_reflection] end |