Refactoring generic entity for rest business delegate

Signed-off-by: salomao.marcos <salomao.marcos@gmail.com>