[RT 44466] remove corba-related scripts, now obsolete
[bioperl-db.git] / onto-term.patch
blob8c83a0dbd6d85c0de167fba15536981051f00ba9
1 Index: Bio/Annotation/OntologyTerm.pm
2 *** Bio/Annotation/OntologyTerm.pm 28 Feb 2003 05:15:42 -0000 1.5
3 --- Bio/Annotation/OntologyTerm.pm 4 Apr 2003 15:39:25 -0000
4 ***************
5 *** 388,392 ****
6 --- 388,490 ----
7 return shift->term()->remove_synonyms(@_);
8 } # remove_synonyms
10 + =head2 get_dblinks
12 + Title : get_dblinks()
13 + Usage : @ds = $term->get_dblinks();
14 + Function: Returns a list of each dblinks of this GO term.
15 + Returns : A list of dblinks [array of [scalars]].
16 + Args :
18 + =cut
20 + sub get_dblinks {
21 + return shift->term->get_dblinks(@_);
22 + } # get_dblinks
25 + =head2 add_dblink
27 + Title : add_dblink
28 + Usage : $term->add_dblink( @dbls );
29 + or
30 + $term->add_dblink( $dbl );
31 + Function: Pushes one or more dblinks
32 + into the list of dblinks.
33 + Returns :
34 + Args : One dblink [scalar] or a list of
35 + dblinks [array of [scalars]].
37 + =cut
39 + sub add_dblink {
40 + return shift->term->add_dblink(@_);
41 + } # add_dblink
44 + =head2 remove_dblinks
46 + Title : remove_dblinks()
47 + Usage : $term->remove_dblinks();
48 + Function: Deletes (and returns) the definition references of this GO term.
49 + Returns : A list of definition references [array of [scalars]].
50 + Args :
52 + =cut
54 + sub remove_dblinks {
55 + return shift->term->remove_dblinks(@_);
56 + } # remove_dblinks
58 + =head2 get_secondary_ids
60 + Title : get_secondary_ids
61 + Usage : @ids = $term->get_secondary_ids();
62 + Function: Returns a list of secondary identifiers of this Term.
64 + Secondary identifiers mostly originate from merging terms,
65 + or possibly also from splitting terms.
67 + Returns : A list of secondary identifiers [array of [scalar]]
68 + Args :
70 + =cut
72 + sub get_secondary_ids {
73 + return shift->term->get_secondary_ids(@_);
74 + } # get_secondary_ids
77 + =head2 add_secondary_id
79 + Title : add_secondary_id
80 + Usage : $term->add_secondary_id( @ids );
81 + or
82 + $term->add_secondary_id( $id );
83 + Function: Adds one or more secondary identifiers to this term.
84 + Returns :
85 + Args : One or more secondary identifiers [scalars]
87 + =cut
89 + sub add_secondary_id {
90 + return shift->term->add_secondary_id(@_);
91 + } # add_secondary_id
94 + =head2 remove_secondary_ids
96 + Title : remove_secondary_ids
97 + Usage : $term->remove_secondary_ids();
98 + Function: Deletes (and returns) the secondary identifiers of this Term.
99 + Returns : The previous list of secondary identifiers [array of [scalars]]
100 + Args :
102 + =cut
104 + sub remove_secondary_ids {
105 + return shift->term->remove_secondary_ids(@_);
106 + } # remove_secondary_ids