class ActiveFedora::Orders::Reflection
Public Class Methods
create(macro, name, scope, options, active_fedora)
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 4 def create(macro, name, scope, options, active_fedora) klass = case macro when :aggregation Reflection when :filter ActiveFedora::Filter::Reflection when :orders ActiveFedora::Orders::Reflection end reflection = klass.new(macro, name, scope, options, active_fedora) ActiveFedora::Reflection.add_reflection(active_fedora, name, reflection) reflection end
Public Instance Methods
association_class()
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 18 def association_class Association end
class_name()
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 26 def class_name klass.to_s end
collection?()
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 22 def collection? true end
klass()
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 34 def klass ActiveFedora::Orders::ListNode end
unordered_reflection()
click to toggle source
# File lib/active_fedora/orders/reflection.rb, line 30 def unordered_reflection options[:unordered_reflection] end