[MOBY-l] MobyDataType 'Object'
ola.spjuth at farmbio.uu.se
Fri Oct 19 08:41:26 EDT 2007
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?
More information about the moby-l