- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
@Nonnull public FactSheet mergedWith (final @Nonnull FactSheet factSheet) // FIXME: could be pushed up? { FactSheet result = this; for (final Key<?> key : factSheet.getKeys()) { final Collection values = factSheet.getMultiple(key); result = result.with(key, values); } return result; } }
/******************************************************************************************************************* * * ******************************************************************************************************************/ @ThreadConfined(type=NOT_UI) protected void createPresentationModels (final @Nonnull Taxon taxon) throws NotFoundException { log.info("createPresentationModels({})", taxon); // stillImages.addAll(taxon.as(Documentable).getFactSheet().getMultiple(FOAF_IMAGE)); for (final Media stillImage : taxon.as(Documentable).getFactSheet().getMultiple(FOAF_IMAGE)) { addPresentationModel(stillImage.with(ID, replacedId(stillImage.get(ID))).as(Presentable).createPresentationModel()); } }