The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

EntityModel::Definition - definition support for EntityModel

VERSION

version 0.015

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

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

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