[#72021320] added setValue method and constructor