The error happens because in the Official_Data class (), error variables are declared as INT, I can not remember which code to correct conversion.
The conversion can be done as below:
Integer.valueOf(Txt_Email.getText())
If the value is of the primitive type you can do:
Integer.valueOf(Txt_Email.getText()).intValue()
In your case, it would be:
objFunc_Enc.setEmail(Integer.valueOf(Txt_Email.getText()).intValue())
A suggestion in Java uses some defaults for identifiers (name of classes, attributes, and methods), for the names of variables and attributes is used letters in the standard camelcase being the lower initial letter.