public String getPolygonAnnotationRef(int ROIIndex, int shapeIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getPolygonAnnotationRef(ROIIndex, shapeIndex, annotationRefIndex); if (result != null) return result; } } return null; }
public String getPolygonAnnotationRef(int ROIIndex, int shapeIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getPolygonAnnotationRef(ROIIndex, shapeIndex, annotationRefIndex); if (result != null) return result; } } return null; }
for (int r=0; r<shapeAnnotationRefCount; r++) { try { String shapeAnnotationRef = src.getPolygonAnnotationRef(i, q, r); dest.setPolygonAnnotationRef(shapeAnnotationRef, i, q, r);