class ActiveFedora::Reflection::MacroReflection

def ==(other)

and +other_aggregation+ has an options hash assigned to it.
Returns +true+ if +self+ and +other_aggregation+ have the same +name+ attribute, +active_record+ attribute,
def ==(other)
  super ||
    other.is_a?(self.class) &&
      name == other.name &&
      !other.options.nil? &&
      active_record == other.active_record
end

def autosave=(autosave)

def autosave=(autosave)
  @options[:autosave] = autosave
  parent_reflection = self.parent_reflection
  parent_reflection.autosave = autosave if parent_reflection
end

def compute_class(name)

def compute_class(name)
  name.constantize
end

def derive_class_name

def derive_class_name
  class_name = name.to_s.camelize
  class_name = class_name.singularize if collection?
  class_name
end

def initialize(macro, name, scope, options, active_fedora)

def initialize(macro, name, scope, options, active_fedora)
  @macro = macro
  @name = name
  @scope = scope
  @options = options
  @active_fedora = active_fedora
  @klass         = options[:anonymous_class]
  @automatic_inverse_of = nil
end

def klass

has_many :clients returns the Client class
composed_of :balance, class_name: 'Money' returns the Money class

Returns the class for the macro.
def klass
  @klass ||= compute_class(class_name)
end