The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

EntityModel::Entity - entity definition for EntityModel

VERSION

version 0.016

SYNOPSIS

See EntityModel.

DESCRIPTION

See EntityModel.

METHODS

new

Creates a new entity with the given name.

new_field

Helper method to create a new field.

dependencies

Report on the dependencies for this entity.

Returns a list of EntityModel::Entity instances required for this entity.

matches

Returns true if this entity has identical content to another EntityModel::Entity.

create_from_definition

Create a new EntityModel::Entity from the given definition (hashref).

add_field

Add a new field to this entity.

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

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