Class Lafcadio::DomainObjectProxy
In: lafcadio/objectStore.rb
Parent: Object

The DomainObjectProxy is used when retrieving domain objects that are linked to other domain objects with DomainObjectFields. In terms of domain_class and pk_id, a DomainObjectProxy instance looks to the outside world like the domain object it’s supposed to represent. It only retrieves its domain object from the database when member data is requested.

In normal usage you will probably never manipulate a DomainObjectProxy directly, but you may discover it by accident by calling DomainObjectProxy#class (or DomainObject#class) instead of DomainObjectProxy#domain_class (or DomainObjectProxy#domain_class).


Included Modules



domain_class  [RW] 
pk_id  [RW] 

Public Instance methods