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

com.googlecode.objectify.impl.conv.joda.JodaMoneyConverters Maven / Gradle / Ivy

Go to download

*** THIS VERSION UPLOADED FOR USE WITH CEDAR-COMMON, TO AVOID DEPENDENCIES ON GOOGLE CODE-BASED MAVEN REPOSITORIES. *** The simplest convenient interface to the Google App Engine datastore

The newest version!
package com.googlecode.objectify.impl.conv.joda;

import com.googlecode.objectify.impl.conv.Conversions;

/**
 * 

A convenient static method that adds all the joda-money related converters to your factory's conversions. * We can't enable the joda-money converters automatically or it would force everyone to add joda-money.jar * whether they use it or not. To enable, call this:

* *

{@code JodaMoneyConverters.add(ObjectifyService.factory().getConversions());} */ public class JodaMoneyConverters { public static void add(Conversions conv) { conv.add(new MoneyStringConverter()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy