java.lang.Object
com.broadleafcommerce.common.jpa.autoconfigure.converter.standard.LocaleConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Locale,String>
public class LocaleConverter
extends Object
implements javax.persistence.AttributeConverter<Locale,String>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LocaleConverter
public LocaleConverter()
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<Locale,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<Locale,String>