public class HardSoftScoreConverter extends Object implements javax.persistence.AttributeConverter<HardSoftScore,String>
Constructor and Description |
---|
HardSoftScoreConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToDatabaseColumn(HardSoftScore score) |
HardSoftScore |
convertToEntityAttribute(String scoreString) |
public String convertToDatabaseColumn(HardSoftScore score)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<HardSoftScore,String>
public HardSoftScore convertToEntityAttribute(String scoreString)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<HardSoftScore,String>
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.