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