I'm trying to map from a String value to an enum that does not match that string value directly (i.e. String value is "I" and I want to map that to enum value Industry.CREATOR) I'm not seeing anything in mapstruct to do something like this.
I'd like it generate something like the following
switch (entityInd) {
case "I":
return Industry.CREATOR;
case "E":
return Industry.CONSUMER;
default:
return null;
}