[MOBY-l] Boolean object

Benjamin Good bmg at sfu.ca
Thu Mar 3 01:48:05 UTC 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 
<http://www.biomoby.org/twiki/bin//view/Moby/MobySAPI#ObjectClassOntology> 
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.

Neh???

-Ben

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!
>
>
>M
>
>
>
>_______________________________________________
>moby-l mailing list
>moby-l at biomoby.org
>http://biomoby.org/mailman/listinfo/moby-l
>
>
>  
>




More information about the moby-l mailing list