2 # BioPerl module for Bio::Map::EntityI
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Sendu Bala <bix@sendu.me.uk>
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
16 Bio::Map::EntityI - An Entity Interface
20 # do not use this module directly
24 This interface describes the basic methods required for entities. An Entity is a
25 kind of Bio::Map object that holds instance-specific data but relies on
26 registering itself with a PositionHandler to handle its relationships with
27 other entities. These relationships between objects are based around shared
28 Positions, so Bio::Map::PositionI objects are a special kind of EntityI, along
29 with Bio::Map::MappableI and Bio::Map::MapI objects.
35 User feedback is an integral part of the evolution of this and other
36 Bioperl modules. Send your comments and suggestions preferably to
37 the Bioperl mailing list. Your participation is much appreciated.
39 bioperl-l@bioperl.org - General discussion
40 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
44 Please direct usage questions or support issues to the mailing list:
46 I<bioperl-l@bioperl.org>
48 rather than to the module maintainer directly. Many experienced and
49 reponsive experts will be able look at the problem and quickly
50 address it. Please include a thorough description of the problem
51 with code and data examples if at all possible.
55 Report bugs to the Bioperl bug tracking system to help us keep track
56 of the bugs and their resolution. Bug reports can be submitted via the
59 https://redmine.open-bio.org/projects/bioperl/
61 =head1 AUTHOR - Sendu Bala
67 The rest of the documentation details each of the object methods.
68 Internal methods are usually preceded with a _
72 # Let the code begin...
74 package Bio
::Map
::EntityI
;
77 use base
qw(Bio::Root::RootI);
79 =head2 get_position_handler
81 Title : get_position_handler
82 Usage : my $position_handler = $entity->get_position_handler();
83 Function: Gets a PositionHandlerI that $entity is registered with.
84 Returns : Bio::Map::PositionHandlerI object
89 sub get_position_handler
{
91 $self->throw_not_implemented();
94 =head2 PositionHandlerI-based methods
96 Any methods related to interation with other entities should be implemented
97 as a call to the PositionHandler