[acceleo] add useful function
[aroccam] update generator