com.sencha.gxt.data.shared
Interface ModelKeyProvider<T>

Type Parameters:
T - the model type
All Superinterfaces:
ProvidesKey<T>

public interface ModelKeyProvider<T>
extends ProvidesKey<T>

ModelKeyProviders are responsible for returning a unique key for a given model.

See Also:
PropertyAccess

Method Summary
 java.lang.String getKey(T item)
          Gets a key value that maps to this object.
 

Method Detail

getKey

java.lang.String getKey(T item)
Gets a key value that maps to this object. Keys must be consistent and unique for a given model, as a database primary key would be used.

Specified by:
getKey in interface ProvidesKey<T>


Copyright © 2012. All Rights Reserved.