/** Gets the UUID associated with this collection of metadata. */ public String getUUID() { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getUUID(); if (result != null) return result; } } return null; }
/** Gets the UUID associated with this collection of metadata. */ public String getUUID() { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getUUID(); if (result != null) return result; } } return null; }
String uuid = src.getUUID(); if (uuid != null) { dest.setUUID(uuid);