javastrava.model.reference.StravaReferenceType 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.model.reference;
/**
* @author danshannon
* @param
* The type of the enum's identifier (normally java.lang.String or java.lang.Integer)
*
*/
public interface StravaReferenceType {
/**
* @return The description of the type instance
*/
public String getDescription();
/**
* @return The identifier of the type instance
*/
public T getId();
/**
* @return Return the value of the type instance
*/
public T getValue();
/**
* @see Object#toString()
*/
@Override
public String toString();
}