Tom Molesworth

NAME

EntityModel::Definition - definition support for EntityModel

VERSION

version 0.102

SYNOPSIS

See EntityModel.

DESCRIPTION

See EntityModel.

METHODS

load

Generic load method, passing file or string to the appropriate "load_file" or "load_string" methods.

save

Generic save method, passing file or string to the appropriate "save_file" or "save_string" methods.

field_structure

entity_structure

structure_from_model

Return a hashref representing the given model.

apply_model_from_structure

Applies a definition (given as a hashref) to generate or update a model.

add_entity_to_model

Create a new entity and add it to the given model.

register

Empty default method, implemented by subclasses to register themselves with the model.

INHERITED METHODS

EntityModel::BaseClass

clone, dump, new, sap

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2008-2012. Licensed under the same terms as Perl itself.