Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::NestedValue::GraphContainer
- Inherits:
-
Object
- Object
- Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::NestedValue::GraphContainer
- Defined in:
- lib/valkyrie/persistence/fedora/persister/orm_converter.rb
Overview
Models a container for parent graphs
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
-
#subject_uri ⇒ Object
readonly
Returns the value of attribute subject_uri.
Instance Method Summary collapse
-
#initialize(graph, subject_uri) ⇒ GraphContainer
constructor
A new instance of GraphContainer.
Constructor Details
#initialize(graph, subject_uri) ⇒ GraphContainer
Returns a new instance of GraphContainer.
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
#graph ⇒ Object (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_uri ⇒ Object (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 |