java object mapping partial implementation