Class EntityProxyKeyProvider<P extends EntityProxy>

java.lang.Object
com.google.web.bindery.requestfactory.gwt.ui.client.EntityProxyKeyProvider<P>
Type Parameters:
P - the proxy type
All Implemented Interfaces:
ProvidesKey<P>

public class EntityProxyKeyProvider<P extends EntityProxy> extends Object implements ProvidesKey<P>
An EntityProxy-aware key provider, handy for use with SelectionModel and various cell widgets.
See Also:
  • Constructor Details

    • EntityProxyKeyProvider

      public EntityProxyKeyProvider()
  • Method Details

    • getKey

      public Object getKey(P item)
      Returns the key Object for the given item.
      Specified by:
      getKey in interface ProvidesKey<P extends EntityProxy>
      Parameters:
      item - an item of type P
      Returns:
      the key that represents the item