[MOBY-dev] findservice.... again... the last
Paul Gordon
gordonp at ucalgary.ca
Mon Aug 13 14:39:06 UTC 2007
Hmm...that will catch primitive stuff too. There is no way to say
"anything except a primitive",
not just in jMOBY, but even at the level of the raw HTTP request to Moby
Central.
You're best to do the query I suggest, then filter the results...
> Hi Andreas,
>
> Every data type in MOBY inherits from "Object" (note that
> MobyDataComposite inherits
> from MobyDataObject), therefore to get services returning *any* data
> type used in conjunction
> with the GO namespace, simply use MobyDataObject:
>
> MobyDataObject dataObject = new MobyDataObject( "" );
> dataObject.addNamespace(MobyNamespace.getNamespace("GO"));
>
> Regards,
>
> Paul
>
>
>> HI paul,
>>
>> you wont believe it, but i think i nearly got the complexity of the
>> findservice and the moby magic behind that.... but one thing is missing..
>>
>> how can i search for services, which return a non primitive object with a
>> specific namespace
>>
>> e.g with this
>>
>> MobyDataObject dataObject = new MobyDataComposite( "GO_Term" );
>> dataObject.addNamespace(MobyNamespace.getNamespace("GO"));
>>
>> i find services which return a GO_Term with Namespace GO.... but how to do if
>> I want ALL services which return something with the Namespace GO ?
>>
>> I tried
>>
>> MobyDataObject dataObject = new MobyDataComposite( "" );
>> dataObject.addNamespace(MobyNamespace.getNamespace("GO"));
>>
>> but that doesn return anything.
>>
>> Is this actually correct and supposed to return nothing or how can I search
>> for all services with a specific namespace and any non-primitive object
>>
>> thanks
>> andreas
>>
>>
>>
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
> !DSPAM:60005,46c069d68021171556352!
>
>
>
>
More information about the MOBY-dev
mailing list