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.
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
#graph ⇒ Object (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_uri ⇒ Object (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 |