module ActiveFedora::FedoraAttributes

def resource

set_value, get_value, and property accessors are delegated to this object.

other nodes.
the datastream and is the central point for its relationship to
The resource is the RdfResource object that stores the graph for
#
def resource
  # Appending the graph at the end is necessary because adding it as the
  # parent leaves behind triples not related to the ldp_source's rdf
  # subject.
  @resource ||= self.class.resource_class.new(@ldp_source.graph.rdf_subject, @ldp_source.graph) << @ldp_source.graph
end