public class PermissionConverter extends Object implements javax.persistence.AttributeConverter<Permission,Integer>
| Constructor and Description |
|---|
PermissionConverter() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
convertToDatabaseColumn(Permission attribute) |
Permission |
convertToEntityAttribute(Integer dbData) |
public Integer convertToDatabaseColumn(Permission attribute)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Permission,Integer>public Permission convertToEntityAttribute(Integer dbData)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<Permission,Integer>Copyright © 2018–2021 Tesler. All rights reserved.