GO::Model::Root(3pm)

GO::Model::Root3pm

Overview

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–12
  8. 13

From libgo-perl 0.15-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.