public static List<?> GetAll(Class aClass) {
        if (aClass.equals(Transaction.class))
            return allData.getAllTransactions();
        if (aClass.equals(Transfer.class))
            return allData.getAllTransfers();
        if (aClass.equals(ExpenseCategory.class))
            return allData.getAllExpenseCategories();
        if (aClass.equals(PaymentCategory.class))
            return allData.getAllPaymentCategories();
        if (aClass.equals(WishListItem.class))
            return allData.getAllWishListItems();
        System.out.println("Objects for class :" + aClass.toString() + " are not found in the repository.");
        return null;
    }