=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with EntityModel::Definition
at lib/EntityModel/Definition.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

EntityModel::Definition - definition support for L<EntityModel>

=head1 VERSION

version 0.102

=head1 SYNOPSIS

See L<EntityModel>.

=head1 DESCRIPTION

See L<EntityModel>.

=head1 METHODS

=head2 load

Generic load method, passing file or string to the appropriate L</load_file> or L</load_string> methods.

=head2 save

Generic save method, passing file or string to the appropriate L</save_file> or L</save_string> methods.

=head2 field_structure

=head2 entity_structure

=head2 structure_from_model

Return a hashref representing the given model.

=head2 apply_model_from_structure

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

=head2 add_entity_to_model

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

=head2 register

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

=head1 INHERITED METHODS

=over 4

=item L<EntityModel::BaseClass>

L<clone|EntityModel::BaseClass/clone>, L<dump|EntityModel::BaseClass/dump>, L<new|EntityModel::BaseClass/new>, L<sap|EntityModel::BaseClass/sap>

=back

=head1 AUTHOR

Tom Molesworth <cpan@entitymodel.com>

=head1 LICENSE

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