@Override public Integer convertTo(RoomEntity source, Integer destination) { if (source != null) { return source.getId(); } else { return null; } }