Class BigMoneyStringTranslatorFactory

java.lang.Object
com.googlecode.objectify.impl.translate.ValueTranslatorFactory<org.joda.money.BigMoney,String>
com.googlecode.objectify.impl.translate.SimpleTranslatorFactory<org.joda.money.BigMoney,String>
com.googlecode.objectify.impl.translate.opt.joda.BigMoneyStringTranslatorFactory
All Implemented Interfaces:
TranslatorFactory<org.joda.money.BigMoney,String>

public class BigMoneyStringTranslatorFactory extends SimpleTranslatorFactory<org.joda.money.BigMoney,String>
Stores BigMoney as its string representation. Note that this does not index properly; you can't safely use inequality filters. However, indexing is not always necessary and this is a very useful thing to be able to store.

All custom translators must be registered *before* entity classes are registered.

Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Constructor Details

    • BigMoneyStringTranslatorFactory

      public BigMoneyStringTranslatorFactory()
  • Method Details