[MOBY-l] MobyDataType 'Object'
edward.kawas at gmail.com
Fri Oct 19 09:20:28 EDT 2007
The service that you mention expects an identifier (Kegg pathway id) set in
the id portion of the datatype Object. The combination of the id/ns portion
of Object usually specifies a db/id into that db. So when service providers
want to create a service that queries some db, they usually have input of
object. They would expect that you provide the query identifier as the id in
Hope this makes sense,
> -----Original Message-----
> From: moby-l-bounces at lists.open-bio.org
> [mailto:moby-l-bounces at lists.open-bio.org] On Behalf Of Ola Spjuth
> Sent: Friday, October 19, 2007 5:41 AM
> To: moby-l at lists.open-bio.org
> Subject: [MOBY-l] MobyDataType 'Object'
> How should the primitive MobyDataType 'Object' be treated? If
> a service only has a input with a primitive 'Object', what
> does it expect?
> Example (implemented in jMoby):
> The service 'getKeggPathwayAsGif' has primary input name='pathway'
> with MobyDataType 'object', hence instantiating from this
> datatypeName creates a MobyDataObject, which cannot contain a
> value (the static method createInstanceFromString(typename,
> value) sets the 'value' parameter as ID for the
> MobyDataObject). Is this intentional and in that case what is
> the intention?
> Why does not the service use the DataType 'String' if that's
> what it expects? Is the dirty workaround to always supply a
> MobyDataString if a DataType is set to Object?
> moby-l mailing list
> moby-l at lists.open-bio.org
More information about the moby-l