InterMine::Model::Reference - represents a reference in an InterMine class
use InterMine::Model::Reference ... my $field = InterMine::Model::Reference->new(name => 'protein', model => $model, referenced_type_name => $ref_type, reverse_reference_name => $reverse_reference); ...
Objects of this class describe the references and collections of a class in an InterMine model. Reference objects are generally part of ClassDescriptor objects.
the name for serialising references to xml
The name of the class of object this reference points to
The class of the object that this reference points to
The class that the other end of this reference points to.
The reference (if it exists) that points back to this one
The name of the reference that points back to this
Return true if this reference is one end of a many-to-many relation, ie. this end is a collection and the other end is a collection
Return true if this is the reference end of a one-to-many relation, ie. this end is a reference and the other end is a collection
Return true if this is a collection and there is no reverse reference
Return true if this is the collection end of a one-to-many relation, ie. this end is a collection and the other end is a reference
Return true if this is a reference and there is no reverse reference
Return the xml representation of the attribute descriptor
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::Reference
You can also look for information at:
FlyMine
http://www.flymine.org
Copyright 2006,2007,2008,2009,2010,2011 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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.