StructuredAnnotations sa = ome.getStructuredAnnotations();
if (sa == null) {
ome.setStructuredAnnotations(sa = new StructuredAnnotations());
}
LongAnnotation seriesAnnotation = null;
for (int saIdx=0; saIdx<sa.sizeOfLongAnnotationList(); saIdx++) {
final LongAnnotation candidate = sa.getLongAnnotation(saIdx);
if ((candidate.getDescription().equals(description)) &&
(candidate.getNamespace().equals(ANNOTATION_NAMESPACE)) &&
(candidate.getValue().equals(value))) {
seriesAnnotation = candidate;