Class Vapor::Extent |
|
Container class for Persistable objects. Retrieval of a Persistable is deferred until it is actually requested.
Methods |
Attributes |
candidate_class | [R] | class of Persistable instances contained |
persistence_manager | [R] | associated PersistenceManager |
Included modules |
Public Instance methods |
has_subclasses?() |
Returns true if the extent includes instances of subclasses of the candidate class.
each( &block ) {|persistable| ...} |
Iterator over all Persistable instances contained.
size() |
Returns number of Persistable objects contained. Maybe zero.
empty?() |
Returns true if no Persistable objects are contained.
oid_array() |
Returns Array of OIDs of the Persistable objects contained.
[](key) |
Rturns n-th contained Persistable.