You're viewing an older version of Framework JavaDoc. Please see version 7.7.46 for the latest.
com.vaadin.data.util.

Interface AbstractBeanContainer.BeanIdResolver<IDTYPE,​BEANTYPE>

  • Type Parameters:

    IDTYPE -

    BEANTYPE -

    All Superinterfaces:

    Serializable

    All Known Implementing Classes:

    AbstractBeanContainer.PropertyBasedBeanIdResolver

    Enclosing class:

    AbstractBeanContainer<IDTYPE,​BEANTYPE>

    public static interface AbstractBeanContainer.BeanIdResolver<IDTYPE,​BEANTYPE>
    extends Serializable

    Resolver that maps beans to their (item) identifiers, removing the need to explicitly specify item identifiers when there is no need to customize this. Note that beans can also be added with an explicit id even if a resolver has been set.

    Since:

    6.5

    • Method Summary

      All Methods
      Modifier and Type Method Description
      IDTYPE getIdForBean​(BEANTYPE bean)

      Return the item identifier for a bean.

    • Method Detail

      • getIdForBean

        IDTYPE getIdForBean​(BEANTYPE bean)

        Return the item identifier for a bean.

        Parameters:

        bean -

        Returns: