| Modifier and Type | Method and Description |
|---|---|
| public Y | Returns: the converted data to be stored in the database columnthe entity attribute value to be converted attribute)Converts the value stored in the entity attribute into the data representation to be stored in the database. |
| public X | Returns: the converted value to be stored in the entity attributethe data from the database column to be
converted dbData)Converts the data stored in the database column into the value to be stored in the entity attribute. |
| convertToDatabaseColumn | back to summary |
|---|---|
| public Y convertToDatabaseColumn(X attribute) Converts the value stored in the entity attribute into the data representation to be stored in the database.
| |
| convertToEntityAttribute | back to summary |
|---|---|
| public X convertToEntityAttribute(Y dbData) Converts the data stored in the database column into the
value to be stored in the entity attribute.
Note that it is the responsibility of the converter writer to
specify the correct
| |