set int to enum
use Beans.setValue()