code: public Object fromStream(final String iStream) {
      if (iStream == null || iStream.length() == 0)
        // NULL VALUE
        return null;
  
      final OSerializableStream instance = new ODocument();
      instance.fromStream(OBinaryProtocol.string2bytes(iStream));
      return instance;
    }
docs: Re-Create any object if the class has a public constructor that accepts a String as unique parameter.