NAME

Net::FluidDB::HasObject - Role for resources that have an object

SYNOPSIS

$tag->object_id;
$tag->object;

DESCRIPTION

Net::FluidDB::HasObject is a role consumed by Net::FluidDB::Tag, Net::FluidDB::Namespace, and Net::FluidDB::User. They have in common that FluidDB creates an object for them.

USAGE

Instance Methods

$resource->object_id

The UUID of the object FluidDB created for the resource.

$resource->object

The object FluidDB created for the resource. This attribute is lazy loaded.

AUTHOR

Xavier Noria (FXN), <fxn@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009 Xavier Noria

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.