com.extjs.gxt.ui.client.data
Interface ModelKeyProvider<M extends ModelData>

Type Parameters:
M - the model type

public interface ModelKeyProvider<M extends ModelData>

Instances of this class provide unique keys for models.


Method Summary
 java.lang.String getKey(M model)
          Returns a unique key for the given model.
 

Method Detail

getKey

java.lang.String getKey(M model)
Returns a unique key for the given model. The key must remain constant for a given model.

Parameters:
model - the model
Returns:
the unique key