Class: DataMapper::PropertySet

Class | DataMapper::PropertySet
In: | lib/dm-core/property_set.rb
Parent: | Array

Set of Property objects, used to associate queries with set of fields it performed over, to represent composite keys (esp. for associations) and so on.

### Methods

<< [] []= defaults discriminator get get! in_context include? indexes key lazy_context loaded? named? new property_contexts set set! typecast unique_indexes values_at

### External Aliases

[]= | -> | super_slice

### Public Class methods

new(*)

TODO: document @api semipublic

### Public Instance methods

<<(property)

TODO: document @api semipublic

[](name)

TODO: document @api semipublic

[]=(name, property)

TODO: document @api semipublic

defaults()

TODO: make PropertySet#reject return a PropertySet instance TODO: document @api semipublic

discriminator()

TODO: document @api semipublic

get(resource)

TODO: document @api semipublic

get!(resource)

TODO: document @api semipublic

in_context(properties)

TODO: document @api private

include?(property)

TODO: document @api semipublic

indexes()

TODO: document @api semipublic

key()

TODO: document @api semipublic

lazy_context(context)

TODO: document @api private

loaded?(resource)

TODO: document @api semipublic

named?(name)

TODO: document @api semipublic

property_contexts(property)

TODO: document @api private

set(resource, values)

TODO: document @api semipublic

set!(resource, values)

TODO: document @api semipublic

typecast(values)

TODO: document @api semipublic

unique_indexes()

TODO: document @api semipublic

values_at(*names)

TODO: document @api semipublic

[Validate]