[MOBY-l] Boolean object
bmg at sfu.ca
Wed Mar 2 20:48:05 EST 2005
I am confused, I thought an Object was not a primitive
"The value of the Object element is ignored */with the exception of/*
the Classes representing primitives (e.g. Integer, Float, String, etc.;
discussed in the Class Ontology
section below). For example, in the following object
<Object namespace="GenBank/gi" moby:id="163483" > this has no value </Object>
the text "this has no value" is ignored by both client and service."
For this to work it seems like we would have to officially declare
Boolean as a primitive and adapt the API accordingly. Otherwise code
for displaying/manipulating Objects (at least like what Eddie and I have
been working on) won't work properly because it won't try to look for
the text value of the new Boolean object.
markw at illuminae.com wrote:
>Quoting Paul Gordon <gordonp at ucalgary.ca>:
>>I'd make boolean a primitive and adjust the APIs, it's really an
>>oversight that this wasn't in there before.
>I agree 100%. It should be a primitive (inherit from Object)... but I don't
>think we need to adjust the API in any way to accomodate this.
>It is interesting to think what it means to have a namespace and ID on a
>boolean, though :-)
>gi|163483 = yes!
>moby-l mailing list
>moby-l at biomoby.org
More information about the moby-l