Class JodaMoneyTranslators
java.lang.Object
com.googlecode.objectify.impl.translate.opt.joda.JodaMoneyTranslators
public class JodaMoneyTranslators extends Object
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:
JodaMoneyConverters.add(ObjectifyService.factory());
All custom translators must be registered *before* entity classes are registered.
- Author:
- Jeff Schnitzer
-
Method Summary
-
Method Details
-
add
-