| Bio::Phylo::Taxa::TaxonLinker - Superclass for objects that link to taxon objects |
Bio::Phylo::Taxa::TaxonLinker - Superclass for objects that link to taxon objects
use Bio::Phylo::Factory; my $fac = Bio::Phylo::Factory->new;
my $node = $fac->create_node; my $taxon = $fac->create_taxon;
# just to show who's what if ( $node->isa('Bio::Phylo::Taxa::TaxonLinker') ) { $node->set_taxon( $taxon ); } # prints 'Bio::Phylo::Taxa::Taxon' print ref $node->get_taxon
This module is a superclass for objects that link to the Bio::Phylo::Taxa::Taxon manpage objects.
set_taxon()
Links the invocant object to a taxon object.
Type : Mutator Title : set_taxon Usage : $obj->set_taxon( $taxon ); Function: Links the invocant object to a taxon object. Returns : Modified $obj Args : A Bio::Phylo::Taxa::Taxon object.
unset_taxon()
Unlinks the invocant object from any taxon object.
Type : Mutator Title : unset_taxon Usage : $obj->unset_taxon(); Function: Unlinks the invocant object from any taxon object. Returns : Modified $obj Args : NONE
get_taxon()
Retrieves the Bio::Phylo::Taxa::Taxon object linked to the invocant.
Type : Accessor Title : get_taxon Usage : my $taxon = $obj->get_taxon; Function: Retrieves the Bio::Phylo::Taxa::Taxon object linked to the invocant. Returns : Bio::Phylo::Taxa::Taxon Args : NONE Comments:
The datum object subclasses the Bio::Phylo::Taxa::TaxonLinker manpage.
The node object subclasses the Bio::Phylo::Taxa::TaxonLinker manpage.
Also see the manual: the Bio::Phylo::Manual manpage and http://rutgervos.blogspot.com.
$Id: TaxonLinker.pm 844 2009-03-05 00:07:26Z rvos $
| Bio::Phylo::Taxa::TaxonLinker - Superclass for objects that link to taxon objects |