javastrava.cache.StravaCacheableEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javastrava-api Show documentation
Show all versions of javastrava-api Show documentation
Java implementation of the Strava API
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();
}