NAME

Gestinanna::SchemaManager - Manages schema definitions

SYNOPSIS

use Gestinanna::SchemaManager;

my $schema_manager = Gestinanna::SchemaManager -> new(
    path => $path_to_schema_files
);

my @files = $schema_manager -> files;

my @schemas = $schema_manager -> available_schema_defs;

my $schema = $schema_manager -> create_schema( %options );

my $schema = $schema_manager -> add_schema($alzabo_schema, $schema_name, \%options);

DESCRIPTION

This module manages the schema definition files located in the path. These are XML files describing sets of tables that together can be used to create a schema.

METHODS

new

$manager = Gestinanna::SchemaManager -> new(
     path => $path_to_schema_files
);

available_schema_defs

parents

define_schema

push @schemas, $manager -> define_schema($name, %params);