EntityModel::Support::Perl - language support for EntityModel
version 0.102
See EntityModel.
Generate Perl packages and methods based on an entity model definition. See EntityModel.
See EntityModel::Support::PerlAsync.
Generate the package name string from the given entity.
Generate the entity name string from the given package name.
Create new field for the given entity.
EntityModel::ObjectBase::Test -> test EntityModel::ObjectBase::Test::One -> test_one EntityModel::ObjectBase::Test::Two -> test_two
Regular accessor.
$entity - EntityModel::Entity
$field - EntityModel::Field
Returns a coderef which can act as an accessor, e.g. $ref->($self, $value).
Accessor for timestamp values.
Accessor accepts the following input formats:
DateTime - a DateTime object (or subclassed variant)
Epoch time - numeric value containing seconds since epoch
String - standard date/time string in ISO8601 format.
Accessor for reference fields.
register
clone, dump, new, sap
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2008-2011. Licensed under the same terms as Perl itself.
To install EntityModel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EntityModel
CPAN shell
perl -MCPAN -e shell install EntityModel
For more information on module installation, please visit the detailed CPAN module installation guide.