[acceleo] add useful function
[aroccam] udpate generator