code: public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
     {
        byte[] buf;
        int length = in.readInt();
        if (length >= 0)
        {
           buf = new byte[length];
           in.readFully(buf);
           ownerId = new String(buf, Constants.DEFAULT_ENCODING);         
        }
        length = in.readInt();
        if (length >= 0)
        {
           buf = new byte[length];
           in.readFully(buf);
           group = new String(buf, Constants.DEFAULT_ENCODING);         
        }
        buf = new byte[in.readInt()];
        in.readFully(buf);
        id = new String(buf, Constants.DEFAULT_ENCODING);
        hash = calculateHash();
     }
docs: {@inheritDoc}