Sha256: 7b5aa65b85d3b09fc681f819b19cfa072b00880e3d84f7c760d2000a29aa9a1a
Contents?: true
Size: 936 Bytes
Versions: 1
Compression:
Stored size: 936 Bytes
Contents
module ActiveFedora::Orders class Reflection < ActiveFedora::Reflection::AssociationReflection class << self 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 end def association_class Association end def collection? true end def class_name klass.to_s end def unordered_reflection options[:unordered_reflection] end def klass ActiveFedora::Orders::ListNode end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activefedora-aggregation-0.10.0 | lib/active_fedora/orders/reflection.rb |