NAME

OBO::APO::APO_ID_Set - An implementation of a set of OBO::APO::APO_ID objects.

SYNOPSIS

use OBO::APO::APO_ID_Set;

use OBO::APO::APO_ID;

$apo_id_set = OBO::APO::APO_ID_Set->new();

$id = OBO::APO::APO_ID->new();

$size = $apo_id_set->size();

if ($apo_id_set->add($id)) { ... }

$new_id = $apo_id_set->get_new_id("APO", "C");

$other_id = $apo_id_set->get_new_id("APO", "Ca");

DESCRIPTION

The OBO::APO::APO_ID_Set class implements a Cell-Cycle Ontology identifiers set.

AUTHOR

Erick Antezana, <erick.antezana -@- gmail.com>

COPYRIGHT AND LICENSE

Copyright (c) 2006-2015 by Erick Antezana. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

add_as_string

Usage    - $set->add_as_string($id)
Returns  - the added id (OBO::APO::APO_ID)
Args     - the APO id (string) to be added
Function - adds an APO_ID to this set

get_new_id

Usage    - $set->get_new_id($local_idspace, $subnamespace)
Returns  - a new APO id (string)
Args     - none
Function - returns a new APO ID as string and adds this id to the set