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

NAME

Myco::Base::Entity::Meta::UI::List - a Myco entity class

VERSION

$Revision: 1.2 $

DATE

$Date: 2003/12/19 21:52:04 $

SYNOPSIS

  use Myco;

  # Constructors. See Myco::Base::Entity for more.
  my $obj = Myco::Base::Entity::Meta::UI::List->new;

  # Accessors.
  my $value = $obj->get_fooattrib;
  $obj->set_fooattrib($value);

  $obj->save;
  $obj->destroy;

DESCRIPTION

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

COMMON ENTITY INTERFACE

Constructor, accessors, and other methods -- as inherited from Class::Tangram

ATTRIBUTES

Attributes may be initially set during object construction (with new()) but otherwise are accessed solely through accessor methods. Typical usage:

  • Set attribute value

     $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.

  • Get attribute value

     $value = $obj->get_attribute;

A listing of available attributes follows:

fooattrib

 type: string   default: 'hello'

A whole lot of nothing

barattrib

 type: int   required: not undef

Almost, but not quite, something.

ADDED CLASS / INSTANCE METHODS

foometh

  Myco::Base::Entity::Meta::UI::List->foometh(attribute => value, ...)

blah blah blah

barmeth

  $obj->barmeth(attribute => $value, ...)

blah blah blah

LICENSE AND COPYRIGHT

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.

SEE ALSO

Myco::Base::Entity::Meta::UI::List::Test, Myco::Base::Entity, Myco, Tangram, Class::Tangram, mkentity