I have a number of setter methods which take an enum. These are based on incoming objects attribute. Rather than write a bunch of these is there a way around having to hard code
I think you need smth like:
Obj.setSide(Side.valueOf(zasAlloc.getM_buySellCode()));