class ActiveFedora::DelegatedAttribute
def primary_solr_name
def primary_solr_name @datastream ||= datastream_class.new if @datastream.respond_to?(:primary_solr_name) @datastream.primary_solr_name(field, dsid) else raise NoMethodError, "the datastream '#{datastream_class}' doesn't respond to 'primary_solr_name'" end end