generate Text setters that take a String