diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java new file mode 100644 index 00000000..66a8f116 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java | |||
@@ -0,0 +1,161 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model <b>Factory</b>. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @generated | ||
20 | */ | ||
21 | public class LogicproblemFactoryImpl extends EFactoryImpl implements LogicproblemFactory { | ||
22 | /** | ||
23 | * Creates the default factory implementation. | ||
24 | * <!-- begin-user-doc --> | ||
25 | * <!-- end-user-doc --> | ||
26 | * @generated | ||
27 | */ | ||
28 | public static LogicproblemFactory init() { | ||
29 | try { | ||
30 | LogicproblemFactory theLogicproblemFactory = (LogicproblemFactory)EPackage.Registry.INSTANCE.getEFactory(LogicproblemPackage.eNS_URI); | ||
31 | if (theLogicproblemFactory != null) { | ||
32 | return theLogicproblemFactory; | ||
33 | } | ||
34 | } | ||
35 | catch (Exception exception) { | ||
36 | EcorePlugin.INSTANCE.log(exception); | ||
37 | } | ||
38 | return new LogicproblemFactoryImpl(); | ||
39 | } | ||
40 | |||
41 | /** | ||
42 | * Creates an instance of the factory. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | public LogicproblemFactoryImpl() { | ||
48 | super(); | ||
49 | } | ||
50 | |||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | @Override | ||
57 | public EObject create(EClass eClass) { | ||
58 | switch (eClass.getClassifierID()) { | ||
59 | case LogicproblemPackage.LOGIC_PROBLEM: return createLogicProblem(); | ||
60 | case LogicproblemPackage.CONTAINMENT_HIERARCHY: return createContainmentHierarchy(); | ||
61 | case LogicproblemPackage.RELATION_ANNOTATION: return createRelationAnnotation(); | ||
62 | case LogicproblemPackage.CONSTANT_ANNOTATION: return createConstantAnnotation(); | ||
63 | case LogicproblemPackage.FUNCTION_ANNOTATION: return createFunctionAnnotation(); | ||
64 | case LogicproblemPackage.ASSERTION_ANNOTATION: return createAssertionAnnotation(); | ||
65 | case LogicproblemPackage.ANNOTATION: return createAnnotation(); | ||
66 | default: | ||
67 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
68 | } | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | public LogicProblem createLogicProblem() { | ||
77 | LogicProblemImpl logicProblem = new LogicProblemImpl(); | ||
78 | return logicProblem; | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | public ContainmentHierarchy createContainmentHierarchy() { | ||
87 | ContainmentHierarchyImpl containmentHierarchy = new ContainmentHierarchyImpl(); | ||
88 | return containmentHierarchy; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public RelationAnnotation createRelationAnnotation() { | ||
97 | RelationAnnotationImpl relationAnnotation = new RelationAnnotationImpl(); | ||
98 | return relationAnnotation; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | public ConstantAnnotation createConstantAnnotation() { | ||
107 | ConstantAnnotationImpl constantAnnotation = new ConstantAnnotationImpl(); | ||
108 | return constantAnnotation; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | public FunctionAnnotation createFunctionAnnotation() { | ||
117 | FunctionAnnotationImpl functionAnnotation = new FunctionAnnotationImpl(); | ||
118 | return functionAnnotation; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | public AssertionAnnotation createAssertionAnnotation() { | ||
127 | AssertionAnnotationImpl assertionAnnotation = new AssertionAnnotationImpl(); | ||
128 | return assertionAnnotation; | ||
129 | } | ||
130 | |||
131 | /** | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @generated | ||
135 | */ | ||
136 | public Annotation createAnnotation() { | ||
137 | AnnotationImpl annotation = new AnnotationImpl(); | ||
138 | return annotation; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | public LogicproblemPackage getLogicproblemPackage() { | ||
147 | return (LogicproblemPackage)getEPackage(); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @deprecated | ||
154 | * @generated | ||
155 | */ | ||
156 | @Deprecated | ||
157 | public static LogicproblemPackage getPackage() { | ||
158 | return LogicproblemPackage.eINSTANCE; | ||
159 | } | ||
160 | |||
161 | } //LogicproblemFactoryImpl | ||