NAME
App::RepositoryObjectSet - A set of repository objects described by a set of query parameters
SYNOPSIS
use App::RepositoryObjectSet;
...
DESCRIPTION
A RepositoryObjectSet is a set of repository objects (i.e. rows in a database).
All RepositoryObjectSet are created using the $rep->object() method, and they all have the following attributes.
$self->{_repository} - the Repository which the object came from
$self->{_context} - the Context the object is running in
$self->{_table} - the table name associated with the object
$self->{_key} - the unique identifier of the object in the
table in the repository
Public Methods
get()
* Signature: $value = $obj->get($attrib);
* Signature: $value = $obj->get($attrib, $options);
* Param: $attrib string,ARRAY
* Return: $value any,ARRAY
* Throws: App::Exception
* Since: 0.01
Sample Usage:
$value = $obj->get($attrib);
Gets the value of one or more attributes of an object.
set()
* Signature: $obj->set($attrib, $value);
* Signature: $obj->set($attrib, $value, $options);
* Param: $attrib string,ARRAY
* Param: $value any,ARRAY
* Return: void
* Throws: App::Exception
* Since: 0.01
Sample Usage:
$obj->set($attrib, $value);
Sets the value of one or more attributes of an object.
ACKNOWLEDGEMENTS
* Author: Stephen Adkins <stephen.adkins@officevision.com>
* License: This is free software. It is licensed under the same terms as Perl itself.