public String getArcAnnotationRef(int instrumentIndex, int lightSourceIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getArcAnnotationRef(instrumentIndex, lightSourceIndex, annotationRefIndex); if (result != null) return result; } } return null; }
public String getArcAnnotationRef(int instrumentIndex, int lightSourceIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getArcAnnotationRef(instrumentIndex, lightSourceIndex, annotationRefIndex); if (result != null) return result; } } return null; }
for (int r=0; r<lightSourceAnnotationRefCount; r++) { try { String lightSourceAnnotationRef = src.getArcAnnotationRef(instrumentIndex, lightSource, r); dest.setArcAnnotationRef(lightSourceAnnotationRef, instrumentIndex, lightSource, r);