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)


287
288
289
290
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 287

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

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



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

def graph
  @graph
end

#subject_uriObject (readonly)

Returns the value of attribute subject_uri.



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

def subject_uri
  @subject_uri
end