Class SecureValueConverter
- java.lang.Object
-
- cronapp.framework.core.persistence.SecureValueConverter
-
- All Implemented Interfaces:
javax.persistence.AttributeConverter<SecureValue,SecureValue>
@Component public class SecureValueConverter extends Object implements javax.persistence.AttributeConverter<SecureValue,SecureValue>
-
-
Field Summary
Fields Modifier and Type Field Description CronappSettingsServicesettingsService
-
Constructor Summary
Constructors Constructor Description SecureValueConverter(CronappSettingsService settingsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecureValueconvertToDatabaseColumn(SecureValue attribute)SecureValueconvertToEntityAttribute(SecureValue dbData)
-
-
-
Field Detail
-
settingsService
public final CronappSettingsService settingsService
-
-
Constructor Detail
-
SecureValueConverter
public SecureValueConverter(CronappSettingsService settingsService)
-
-
Method Detail
-
convertToDatabaseColumn
public SecureValue convertToDatabaseColumn(SecureValue attribute)
- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<SecureValue,SecureValue>
-
convertToEntityAttribute
public SecureValue convertToEntityAttribute(SecureValue dbData)
- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<SecureValue,SecureValue>
-
-