Myco::Base::Entity::SampleEntity - a Myco entity class.
-- thingies that do such and such
0.01
$Revision$ $Date$
$obj = Myco::Base::Entity::SampleEntity->new; # accessor usage $obj->set_fooattrib("hello"); $value = $obj->get_fooattrib; $obj->foometh();
Blah blah blah... Blah blah blah... Blah blah blah... Blah blah blah blah blah... Blah blah...
Attributes may be initially set during object construction (with new()) but otherwise are accessed solely through accessor methods. Typical usage:
new()
Set attribute value
$obj->set_attributeName($value);
Check functions (see Class::Tangram) perform data validation. If there is any concern that the set method might be called with invalid data then the call should be wrapped in an eval block to catch exceptions that would result.
eval
Get attribute value
$value = $obj->get_attributeName;
Available attributes are listed below, using syntax borrowed from UML class diagrams; for each showing the name, type, default initial value (if any), and, following that, a description.
A whole lot of nothing
Almost, but not quite, something. [required: not undef]
constructor, accessors, and other methods -- as inherited from Myco::Base::Entity
Class->foometh(attribute => value, ...)
blah blah blah
$instance->barmeth(attribute => $value, ...)
Copyright (c) 2004 the myco project. All rights reserved. This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Myco::Base::Entity::SampleEntity::Test, Myco::Base::Entity, Myco, Tangram, Class::Tangram, mkentity
To install Myco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Myco
CPAN shell
perl -MCPAN -e shell install Myco
For more information on module installation, please visit the detailed CPAN module installation guide.