[ome-devel] Database Issues: FK, UNIQUE, and such

Chris Allan callan at blackcat.ca
Mon May 30 15:39:36 BST 2005


On Mon, May 30, 2005 at 03:48:42PM +0200, Joshua Moore wrote:
> 
> > > One and all,
> > 
> > Heya.
> 
> Hoya.
> 
> >
> http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2005-May/000397.html
> 
> Excellent. 
> 
> *snip*
> 
> > > VI. Miscellany
> > > 
> > >  * What exactly is the reasoning for String descriptions of pixel types?
> At least in the java, it seems the convention is int.
> > 
> > Eh? What convention? Float is != to Int quite obviously.
> 
> Ah, thanks! ;)

^_^

> 
> Just looked a bit deeper. Perhaps this is more of a Java question. Some Java
> code is currently representing pixel type as final static int fields.
> Elsewhere, as a string. Is there a mapper somewhere in ome-java/shoola? 

Yes, here:

http://cvs.openmicroscopy.org.uk/horde/chora/co.php?r=1.14&f=Shoola%2FSRC%2Forg%2Fopenmicroscopy%2Fshoola%2Fenv%2Frnd%2Fdata%2FDataSink.java

Those are the Javaesque "enum" fields anyway.

> 
>  - Josh.

Ciao.

-Chris


More information about the ome-devel mailing list