2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.vaadin
.util
;
11 import org
.vaadin
.viritin
.fields
.CaptionGenerator
;
13 import eu
.etaxonomy
.cdm
.model
.common
.IdentifiableEntity
;
16 * @author a.kohlbecker
20 public final class CdmTitleCacheCaptionGenerator
<T
extends IdentifiableEntity
> implements CaptionGenerator
<T
> {
22 private static final long serialVersionUID
= 3151383366731447990L;
24 public CdmTitleCacheCaptionGenerator(){
28 public String
getCaption(T option
) {
29 return option
.getTitleCache();