java.lang.Object
org.cardanofoundation.lob.app.support.orm.YearMonthStringAttributeConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<YearMonth,String>
public class YearMonthStringAttributeConverter
extends Object
implements jakarta.persistence.AttributeConverter<YearMonth,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
-
YearMonthStringAttributeConverter
public YearMonthStringAttributeConverter()
-
Method Details
-
convertToDatabaseColumn
@Nullable
public String convertToDatabaseColumn(@Nullable
YearMonth attribute)
- Specified by:
convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<YearMonth,String>
-
convertToEntityAttribute
@Nullable
public YearMonth convertToEntityAttribute(@Nullable
String dbData)
- Specified by:
convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<YearMonth,String>