Re: [basedb-devel] annotationType / Annotation.value

2007-10-18 Thread seth redmond
I have two different functions, one to return annotations with a given type and a given value, another to return all annotations with a given value (of any annotation type). the code for the first is below: > ItemQuery typeIq = AnnotationType.getQuery > (Item.SAMPLE); > typeIq.inc

Re: [basedb-devel] annotationType / Annotation.value

2007-10-18 Thread Nicklas Nordborg
seth redmond wrote: > I have two different functions, one to return annotations with a > given type and a given value, another to return all annotations with > a given value (of any annotation type). > the code for the first is below: > AnnotationSimpleRestriction[] restrictions =