module ActiveFedora::FedoraAttributes

def create_date

def create_date
  super.first
end

def modified_date

def modified_date
  super.first
end

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

def set_value(*args)

Override ActiveTriples method for setting properties
def set_value(*args)
  raise ReadOnlyRecord if readonly?
  resource.set_value(*args)
end