NAME

Storm::Aeolus - Install classes to the database

SYNOPSIS

$storm->aeolus->install_class_table( 'Person' );

$storm->aeolus->install_junction_tables( 'Person' );

$storm->aeolus->install_class( 'Person' );   

DESCRIPTION

Aeolus is the Greek god of the winds. Storm::Aeolus can introspect your object classes and create the appropriate definitions in the database. It is important you setup a policy (see Storm::Policy) for any custom types you have created.

ATTRIBUTES

storm

The Storm storm instance that Aeolus should act on.

METHODS

install_class $class

Installs the all necessary tables for storing the class by calling install_class_table and install_junction_tables on the $class.

install_class_table $class

Installs the primary data table for the $class.

install_junction_tables $class

Installs any junction tables necessary to store relationship information between objects.

AUTHOR

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

COPYRIGHT

Copyright (c) 2010 Jeffrey Ray Hallock. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.