Do you mean, how do you get the
string "Fax" from
X.FAX?
That's going to depend on the rest of the code you haven't shown. The line
FAX("Fax") indicates that the enumeration has a constructor that takes a String argument. I think it's likely that argument gets assigned to a member variable, and I'd expect there to be a getter method for that variable. Then you use that. So you might use something like
X.FAX.getLabel() - or
getX().getValue() to call your method and get the label from it.