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)


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

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

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



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

def graph
  @graph
end

#subject_uriObject (readonly)

Returns the value of attribute subject_uri.



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

def subject_uri
  @subject_uri
end