Provided by: libgo-perl_0.15-1_all
NAME
GO::Model::Root - base class for all GO::Model objects
DESCRIPTION
base class for all GO::Model objects
Constructors
new Constructor: Basically just calls _initialize(). Most subclasses should not need to override new, but instead should override _initialize(). If _initialize() fails , the procedure will die WARNING: This procedure will die if initialization is unsuccessful. Use an eval statement to catch such exceptions. obj_factory Usage - $obj->obj_factory->create_new_term_object($h); Alias - apph Returns - L<GO::ObjFactory> Args - none sprint_self Prints out a description of the object to a string. dump dumps the object (can be read back in with eval) namespace Usage - print $term->namespace(); # getting the type Usage - $term->namespace("molecular_function"); # setting the type Alias - type Alias - term_type Alias - category Alias - ontology Returns - string representing type Args - string represnting type [optional] The OBO namespace for the GO::Model::Term or GO::Model::Relationship _cleanup Called at object destruction time. Should be overridden to perform cleanup tasks.