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


NAME

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

Back to Top


SYNOPSIS

 Gestinanna::POF::Container -> build_object_class(
      class => 'My::DataObject',
      config => {
          objects => {
              name => {
                  class => 'Some::POF::Class',
                  params => { },
                  config => { },
              },
          },
          mappings => {
              name => {
                  external => internal
              },
          },
      }
 );

Back to Top


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.

Back to Top


BUGS

These are more caveats than bugs since they reveal some of the limitations in aggregating data sources without being horribly inefficient.

find

Back to Top


AUTHOR

James Smith, <jsmith@cpan.org>

Back to Top


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.

Back to Top

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