InterMine::Model::Role::Field - Provides common behaviour for field descriptors
FlyMine <support@flymine.org>
<support@flymine.org>
Please report any bugs or feature requests to support@flymine.org.
support@flymine.org
You can find documentation for this module with the perldoc command.
perldoc InterMine::Model::Role::Field
You can also look for information at:
FlyMine
http://www.flymine.org
Copyright 2006,2007,2008,2009 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Usage : this is an abstract class, construct an Attribute, Collection or Reference instead Function: create a new Field object Args : args are passed in as: name => "value" name - the field name model - the Model type - for attributes, the type of the field (eg. String, Integer) referenced_type_name - for references and collections, the type of the referenced object(s) reverse_reference_name - for references and collections, the field name of the reverse reference
The name of the descriptor
Usage : my $class = $field->field_class(); Function: returns the ClassDescriptor of the (base) class that defines this field
The string representation of a field descriptor, ie. its name
To install InterMine::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm InterMine::Model
CPAN shell
perl -MCPAN -e shell install InterMine::Model
For more information on module installation, please visit the detailed CPAN module installation guide.