Added support for not nullable fields to use java basic types like integer instead of Integer