NAME

Gestinanna::POF::Container - Aggregation of POF object classes

SYNOPSIS

package My::DataObject;

use base qw(Gestinanna::POF::Container);

__PACKAGE__ -> contained_objects(
   name => class,
);

__PACKAGE__ -> attribute_mappings(
   name => { external => internal },
);
   

DESCRIPTION

This is a container object. It allows consolidation of multiple data sources into a single object. Data requests are passed to the contained objects transparently.

Attributes that are for specific contained objects may be prefixed with the name of the contained object. These will override any general attributes passed in to the container constructor.

Attributes names may be mapped from the container's published set to the contained objects set. This allows two contained objects with the same attribute name to expose that attribute through the container as two different attributes. N.B.: this does not affect attribute names during the container's creation. This only affects attribute value retrieval and storage.

AUTHOR

James Smith, <jsmith@cpan.org>

COPYRIGHT

Copyright (C) 2002-2003 Texas A&M University. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.