public class StorageLoadsConverter extends AbstractByteArrayConverter implements javax.persistence.AttributeConverter<java.util.List<AbstractStorageLoad>,byte[]>
Constructor and Description |
---|
StorageLoadsConverter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
convertToDatabaseColumn(java.util.List<AbstractStorageLoad> slList) |
java.util.List<AbstractStorageLoad> |
convertToEntityAttribute(byte[] slBytes) |
convertToByteArray, convertToInstance
public byte[] convertToDatabaseColumn(java.util.List<AbstractStorageLoad> slList)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<java.util.List<AbstractStorageLoad>,byte[]>
public java.util.List<AbstractStorageLoad> convertToEntityAttribute(byte[] slBytes)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<java.util.List<AbstractStorageLoad>,byte[]>