Class: ActiveFacts::API::ObjectifiedFactType

Inherits:
FactType
  • Object
show all
Defined in:
lib/activefacts/api/fact_type.rb

Instance Attribute Summary collapse

Attributes inherited from FactType

#all_role

Method Summary

Methods inherited from FactType

#initialize

Constructor Details

This class inherits a constructor from ActiveFacts::API::FactType

Instance Attribute Details

#objectified_asObject (readonly)

The roles of an ObjectifiedFactType are roles in the link fact types. This means that all_role.fact_type does not point to this fact type, as would normally be the case. invariant { self.all_role.each {|role| role.counterpart.object_type == self.objectified_as } }



25
26
27
# File 'lib/activefacts/api/fact_type.rb', line 25

def objectified_as
  @objectified_as
end