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:



638
639
640
641
642
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 638

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

Instance Attribute Details

#adapterObject (readonly)

Returns the value of attribute adapter.



633
634
635
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 633

def adapter
  @adapter
end

#scopeObject (readonly)

Returns the value of attribute scope.



633
634
635
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 633

def scope
  @scope
end

#statementObject (readonly)

Returns the value of attribute statement.



633
634
635
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 633

def statement
  @statement
end