private void addTaggedProfiles(IORTemplate iortemp, ObjectId id) { ObjectKeyTemplate oktemp = iortemp.getObjectKeyTemplate(); Iterator<Object> templateIterator = iortemp.iterator(); while (templateIterator.hasNext()) { TaggedProfileTemplate ptemp = (TaggedProfileTemplate) (templateIterator.next()); TaggedProfile profile = ptemp.create(oktemp, id); add(profile); } }
private void addTaggedProfiles(IORTemplate iortemp, ObjectId id) { ObjectKeyTemplate oktemp = iortemp.getObjectKeyTemplate(); Iterator<Object> templateIterator = iortemp.iterator(); while (templateIterator.hasNext()) { TaggedProfileTemplate ptemp = (TaggedProfileTemplate) (templateIterator.next()); TaggedProfile profile = ptemp.create(oktemp, id); add(profile); } }