*/
public PersistedValueData createPersistedCopy(int orderNumber) throws IOException
{
if (isByteArray())
{
return new ByteArrayPersistedValueData(orderNumber, data);
}
else if (spoolFile != null)
{
return new StreamPersistedValueData(orderNumber, spoolFile, null, spoolConfig);
}