code: public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
     {
        orderNumber = in.readInt();
  
        byte[] data = new byte[in.readInt()];
        if (data.length > 0)
        {
           try
           {
              in.readFully(data);
              value = new JCRDateFormat().deserialize(new String(data, Constants.DEFAULT_ENCODING));
           }
           catch (ValueFormatException e)
           {
              throw new IOException("Deserialization data error", e);
           }
        }
     }
docs: {@inheritDoc}