PIM-1983 : remove useless getCodeToAttribute method from flexible
repository