All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javastrava.cache.StravaCacheableEntity Maven / Gradle / Ivy

The newest version!
package javastrava.cache;

import javastrava.model.StravaEntity;

/**
 * 

* Required methods to implement a cache - basically just need an identifier and a resource state (from {@link StravaEntity}) *

* * @author Dan Shannon * * @param * Class of entity's identifier */ public interface StravaCacheableEntity extends StravaEntity { /** * @return The entity's identifier */ public U getId(); }