[MOBY-dev] get datatype information at runtime
Biczok Rudolf
r.biczok at dkfz-heidelberg.de
Wed Apr 28 09:12:08 UTC 2010
Hello MOBY com,
I'm working with the Perl-Moses package and I want to implement some
functionality which converts us internal perl objects automatically into
BioMOBY objects.
But I don't really know how to get information about a BioMOBY datatype
at the runtime, because every generate Package handles these attributes
in an abstract why:
my %_allowed =
(
id => undef,
namespace => undef,
provision => {type => 'MOSES::MOBY::Data::ProvisionInformation'},
xrefs => {type => 'MOSES::MOBY::Data::Xref', is_array => 1},
primitive => {type => MOSES::MOBY::Base->BOOLEAN},
);
.. which means I can't access these information from a other package.
So is there any mechanism that allows me to get these suff without calling the MOBY-Central
(just an static method)?
Best wishes,
Rudolf
Rudolf Biczok
Bioinformatics HUSAR
Mobile Phone : +49 171 6289148
Phone: +49 (0) 6221 42 2342
Deutsches Krebsforschungszentrum
Im Neuenheimer Feld 280
D-69120 Heidelberg
[cid:image001.gif at 01CAE6BE.9F358520]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2941 bytes
Desc: image001.gif
URL: <http://lists.open-bio.org/pipermail/moby-dev/attachments/20100428/5070bd8a/attachment-0002.gif>
More information about the MOBY-dev
mailing list