public class AuditActionTypeConverter extends Object implements javax.persistence.AttributeConverter<AuditActionType,Long>
AttributeConverter
for the AuditActionType
enumeration.Constructor and Description |
---|
AuditActionTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Long |
convertToDatabaseColumn(AuditActionType value) |
AuditActionType |
convertToEntityAttribute(Long value) |
public Long convertToDatabaseColumn(AuditActionType value)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<AuditActionType,Long>
public AuditActionType convertToEntityAttribute(Long value)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<AuditActionType,Long>
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.