DesignpatternClass