01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09:
10: package de.uka.ilkd.key.casetool;
11:
12: // attention: do not import java.util.Collection
13: // The tudresden-package contains a class with the same name
14: import tudresden.ocl.check.types.Any;
15:
16: /**
17: * @deprecated
18: */
19: public class OCLModelFacade extends OCLParserModelFacade {
20:
21: private HashMapOfClassifier classifiers;
22:
23: public OCLModelFacade(HashMapOfClassifier classifiers) {
24: this .classifiers = classifiers;
25:
26: }
27:
28: public Any getClassifier(String name) {
29: return classifiers.getClassifier(name);
30: }
31:
32: public String toString() {
33: return classifiers.toString();
34: }
35:
36: }
|