Class: ActiveFedora::Associations::Builder::Property

Inherits:
Association
  • Object
show all
Defined in:
lib/active_fedora/associations/builder/property.rb

Direct Known Subclasses

SingularProperty

Instance Attribute Summary

Attributes inherited from Association

#inversed, #owner, #reflection, #target

Class Method Summary collapse

Methods inherited from Association

#association_scope, #initialize, #initialize_attributes, #load_target, #loaded!, #loaded?, #reload, #reset, #reset_scope, #scope, #set_inverse_instance, #stale_target?, #target_scope

Constructor Details

This class inherits a constructor from ActiveFedora::Associations::Association

Class Method Details

.better_name(name) ⇒ Object



11
12
13
# File 'lib/active_fedora/associations/builder/property.rb', line 11

def self.better_name(name)
  :"#{name.to_s.singularize}_ids"
end

.macroObject



3
4
5
# File 'lib/active_fedora/associations/builder/property.rb', line 3

def self.macro
  :rdf
end

.valid_options(options) ⇒ Object



7
8
9
# File 'lib/active_fedora/associations/builder/property.rb', line 7

def self.valid_options(options)
  super
end