Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::NestedValue::GraphContainer

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

Overview

Models a container for parent graphs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(graph, subject_uri) ⇒ GraphContainer

Returns a new instance of GraphContainer.

Parameters:

  • graph (RDF::Graph)
  • subject_uri (RDF::URI)


281
282
283
284
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 281

def initialize(graph, subject_uri)
  @graph = graph
  @subject_uri = subject_uri
end

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



277
278
279
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 277

def graph
  @graph
end

#subject_uriObject (readonly)

Returns the value of attribute subject_uri.



277
278
279
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 277

def subject_uri
  @subject_uri
end