static AbstractFactory getFactory(CHOICE choice) {
        switch (choice) {
            case A:
                pf = new ConcreteFactory1();
                break;
            case B:
                pf = new ConcreteFactory2();
                break;
        }
        return pf;
    }