Examples of sizeOfLongAnnotationList()


Examples of ome.xml.model.StructuredAnnotations.sizeOfLongAnnotationList()

    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;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.