LibTracker::Client::MetaDataTypeDetails - Metadata type details for LT::C
use LibTracker::Client qw(:all); use LibTracker::Client::MetaDataTypeDetails; my $tracker = LibTracker::Client->get_instance(); my $mdtd = $tracker->get_metadata_type_details("Doc:Author"); print "type : ", $mdtd->type(), "\n"; print "is_embedded : ", $mdtd->is_embedded(), "\n"; print "is_writeable : ", $mdtd->is_writeable(), "\n"; undef $tracker;
This module implements the MetaDataTypeDetails data structure for LibTracker::Client.
args: args(hashref) : contains the type, is_embedded and is_writeable keys with values.
Returns a reference blessed into LibTracker::Client::MetaDataTypeDetails on success. Dies on failure.
args: type(string)[optional] : the type
If passed an argument, sets the type field to the given value. Returns the type for the MetaDataTypeDetails object.
args: is_embedded(boolean)[optional] : the is_embedded flag
If passed an argument, sets the is_embedded field to the given value. Returns the is_embedded flag for the MetaDataTypeDetails object.
args: is_writeable(boolean)[optional] : the is_embedded flag
If passed an argument, sets the is_writeable field to the given value. Returns the is_writeable flag for the MetaDataTypeDetails object.
None by default.
None.
The tracker project home at http://www.gnome.org/projects/tracker/
LibTracker::Client specific communication with the author : ltcp@theoldmonk.net
LibTracker::Client homepage at http://www.theoldmonk.net/ltcp/
Devendra Gera, <gera@theoldmonk.net>
Copyright (C) 2008 by Devendra Gera
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install LibTracker::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LibTracker::Client
CPAN shell
perl -MCPAN -e shell install LibTracker::Client
For more information on module installation, please visit the detailed CPAN module installation guide.