Interface TranslationService
-
- All Known Implementing Classes:
TranslationServiceImpl
public interface TranslationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetTranslatedEntity(String language, Class<T> type, T instance)Get a cloned version of a GTFS entity object with fields translated as per the GTFS Translations proposed spec addition.
-
-
-
Method Detail
-
getTranslatedEntity
<T> T getTranslatedEntity(String language, Class<T> type, T instance)
Get a cloned version of a GTFS entity object with fields translated as per the GTFS Translations proposed spec addition. SeeTranslation- Type Parameters:
T- entity type- Parameters:
language- language to translate totype- entity typeinstance- instance to clone and translate- Returns:
- cloned instance with the proper fields changed
-
-