Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::Property

Inherits:
Object
  • Object
show all
Defined in:
lib/valkyrie/persistence/fedora/persister/orm_converter.rb

Overview

Class modeling RDF statements for Fedora LDP resources

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statement:, scope:, adapter:) ⇒ Property

Returns a new instance of Property.

Parameters:



614
615
616
617
618
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 614

def initialize(statement:, scope:, adapter:)
  @statement = statement
  @scope = scope
  @adapter = adapter
end

Instance Attribute Details

#adapterObject (readonly)

Returns the value of attribute adapter.



609
610
611
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 609

def adapter
  @adapter
end

#scopeObject (readonly)

Returns the value of attribute scope.



609
610
611
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 609

def scope
  @scope
end

#statementObject (readonly)

Returns the value of attribute statement.



609
610
611
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 609

def statement
  @statement
end