
Myco::Foo - a Myco entity class

use Myco; # Constructors. See Myco::Entity for more. my $obj = Myco::Foo->new; # Accessors. my $value = $obj->get_fooattrib; $obj->set_fooattrib($value); $obj->save; $obj->destroy;

Blah blah blah... Blah blah blah... Blah blah blah... Blah blah blah blah blah... Blah blah...

Constructor, accessors, and other methods -- as inherited from Myco::Entity.

Attributes may be initially set during object construction (with new()) but otherwise are accessed solely through accessor methods. Typical usage:
$obj->set_attribute($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.
$value = $obj->get_attribute;
A listing of available attributes follows:
type: string default: 'hello'
A whole lot of nothing
type: int required: not undef
Almost, but not quite, something.

Myco::Foo->foometh(attribute => value, ...)
blah blah blah
$obj->barmeth(attribute => $value, ...)
blah blah blah

Copyright (c) 2006 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::Foo::Test, Myco::Entity, Myco, Tangram, Class::Tangram, myco-mkentity