From: Jonathan S. <js...@pc...> - 2005-11-19 04:31:56
|
Note, by the way that I implemented just such a thing at least 6 months ago. There are support functions for external database specifications as follows: GUS::PluginMgr::PluginUtilities::ConstraintFunction::CfIsXdbSpec -- checks to see that the value is in the proper format. I had chosen name/version or +ddddd for the external_database_release_id GUS::PluginMgr::PluginUtilities::ConstraintFunction::ParseXdbSpec -- parses the value GUS::PluginMgr::PluginUtilities::getXdbrIdFromSpec -- takes a parsed spec and returns the external_database_release_id I don't think the name of the flag matters so much, because as Elisabetta points out, the semantics are not always the same. Jonathan Jonathan Schug, Ph.D. Center for Bioinformatics Computational Biology and Informatics Lab University of Pennsylvania js...@pc... (215) 573-3113 voice (215) 573-3111 fax 1413 Blockley Hall, Philadelphia, PA 19014-6021 |