Class LatLngTranslatorFactory
java.lang.Object
com.googlecode.objectify.impl.translate.ValueTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
com.googlecode.objectify.impl.translate.SimpleTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
com.googlecode.objectify.impl.translate.LatLngTranslatorFactory
- All Implemented Interfaces:
TranslatorFactory<com.google.cloud.datastore.LatLng,
com.google.cloud.datastore.LatLng>
public class LatLngTranslatorFactory
extends SimpleTranslatorFactory<com.google.cloud.datastore.LatLng,com.google.cloud.datastore.LatLng>
Handle the native datastore LatLng
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.cloud.datastore.Value
<com.google.cloud.datastore.LatLng> toDatastore
(com.google.cloud.datastore.LatLng value) protected com.google.cloud.datastore.LatLng
toPojo
(com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> value) Methods inherited from class com.googlecode.objectify.impl.translate.SimpleTranslatorFactory
createValueTranslator
Methods inherited from class com.googlecode.objectify.impl.translate.ValueTranslatorFactory
create
-
Constructor Details
-
LatLngTranslatorFactory
public LatLngTranslatorFactory()
-
-
Method Details
-
toPojo
protected com.google.cloud.datastore.LatLng toPojo(com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> value) - Specified by:
toPojo
in classSimpleTranslatorFactory<com.google.cloud.datastore.LatLng,
com.google.cloud.datastore.LatLng>
-
toDatastore
protected com.google.cloud.datastore.Value<com.google.cloud.datastore.LatLng> toDatastore(com.google.cloud.datastore.LatLng value) - Specified by:
toDatastore
in classSimpleTranslatorFactory<com.google.cloud.datastore.LatLng,
com.google.cloud.datastore.LatLng>
-