NAME blx::xsdsql::schema_repository::catalog
DESCRIPTION
API class for manage catalog
VERSION
0.10.0
FUNCTIONS
this module defined the followed functions
create_views - create the views on database objects if the repository is not installed, the catalog not exists or the database not support views return undef otherwise the self object PARAMS: FD - file description opened in output mode if it's set the views are not created but emit on FD the commands for created it TABLES_FILTER - if it's set create the views only for the list of table_name/xml_path specify
drop_views - drop the views associated to a catalog if the repository is not installed or the catalog not exists the method return undef otherwise the self object
drop - drop it self from database if the repository is not installed or the catalog not exists the method return undef otherwise the self object
get_catalog_xml - return an object of type blx::xsdsql::schema_repository::catalog_xml for read or store xml PARAMS: EXECUTE_OBJECTS_PREFIX - prefix for objects in execution (default none) EXECUTE_OBJECTS_SUFFIX - suffix for objects in execution (default none) XMLWRITER - instance of class XML::Writer if is not set is instance automatically XMLPARSER - instance of class XML::Parser if is not set is instance automatically
get_xml_stored - return a list of xml stored into the repository for the current catalog if the repository is not installed in list mode return an empty list otherwise undef the component of the list is a list with id,catalog_name,xml_name PARAMS: ID - filter by xml id XML_NAME - filter by xml name
get_object_names - return a list of objects stored into the repository if the repository is not installed in list mode return an empty list otherwise undef PARAMS: OBJECT_TYPE => table|view if is not set return a list of tables and views
SEE ALSO
blx::xsdsql::00_readme_API blx::xsdsql::schema_repository blx::xsdsql::schema_repository::catalog_xml blx::xsdsql::xsd_parser
BUGS
Please report any bugs or feature requests to https://rt.cpan.org/Public/Bug/Report.html?Queue=XSDSQL
AUTHOR
lorenzo.bellotti, <pauseblx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2011 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html