Package ome.xml.model

Examples of ome.xml.model.Annotation


   * @return
   */
  private static int getLongAnnotationFromPlane(Plane plane, String description, int defaultValue) {
    int result = defaultValue;
    for (int annotationRefIdx=0; annotationRefIdx<plane.sizeOfLinkedAnnotationList(); annotationRefIdx++) {
      Annotation a = plane.getLinkedAnnotation(annotationRefIdx);
      if (a.getDescription().equals(description) &&
        a.getNamespace().equals(ANNOTATION_NAMESPACE) &&
        a instanceof LongAnnotation) {
        result = ((LongAnnotation)a).getValue().intValue();
        break;
      }
    }
View Full Code Here

TOP

Related Classes of ome.xml.model.Annotation

Copyright © 2018 www.massapicom. 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.