NAME

Pangloss::StoredObject - base class for stored objects.

SYNOPSIS

# abstract - cannot be used
use base qw( Pangloss::StoredObject );

$obj->copy( $another_obj )->validate; # catch Pangloss::Error
$clone = $obj->clone;

DESCRIPTION

Base class for stored objects in Pangloss.

METHODS

$copy = $obj->copy( $another_obj )

abstract. copy $another_obj values into this object, returns itself.

$clone = $obj->clone

return a new copy of this object.

$obj = $obj->validate( [$errors] )

abstract. validate this object, or throw an error. returns itself. an optional hashref of errors can be passed in.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, OpenFrame::WebApp::Error::Abstract