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:



618
619
620
621
622
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 618

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

Instance Attribute Details

#adapterObject (readonly)

Returns the value of attribute adapter.



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

def adapter
  @adapter
end

#scopeObject (readonly)

Returns the value of attribute scope.



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

def scope
  @scope
end

#statementObject (readonly)

Returns the value of attribute statement.



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

def statement
  @statement
end