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:



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

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

Instance Attribute Details

#adapterObject (readonly)

Returns the value of attribute adapter.



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

def adapter
  @adapter
end

#scopeObject (readonly)

Returns the value of attribute scope.



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

def scope
  @scope
end

#statementObject (readonly)

Returns the value of attribute statement.



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

def statement
  @statement
end