Class: ActiveFedora::ActiveTripleAttribute

Inherits:
DelegatedAttribute show all
Defined in:
lib/active_fedora/attributes/active_triple_attribute.rb

Overview

Attributes delegated to ActiveTriples. Allows ActiveFedora to track all attributes consistently.

Examples:

class Book < ActiveFedora::Base
  property :title, predicate: ::RDF::Vocab::DC.title
  property :author, predicate: ::RDF::Vocab::DC.creator
end

Book.attribute_names
=> ["title", "author"]

Instance Attribute Summary

Attributes inherited from DelegatedAttribute

#field, #multiple

Method Summary

Methods inherited from DelegatedAttribute

#initialize

Constructor Details

This class inherits a constructor from ActiveFedora::DelegatedAttribute