diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/util/Viatra2LogicAnnotationsAdapterFactory.java')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/util/Viatra2LogicAnnotationsAdapterFactory.java | 214 |
1 files changed, 214 insertions, 0 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/util/Viatra2LogicAnnotationsAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/util/Viatra2LogicAnnotationsAdapterFactory.java new file mode 100644 index 00000000..91bbdc9f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/util/Viatra2LogicAnnotationsAdapterFactory.java | |||
@@ -0,0 +1,214 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; | ||
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.*; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Adapter; | ||
12 | import org.eclipse.emf.common.notify.Notifier; | ||
13 | |||
14 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EObject; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * The <b>Adapter Factory</b> for the model. | ||
21 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.Viatra2LogicAnnotationsPackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class Viatra2LogicAnnotationsAdapterFactory extends AdapterFactoryImpl { | ||
27 | /** | ||
28 | * The cached model package. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | protected static Viatra2LogicAnnotationsPackage modelPackage; | ||
34 | |||
35 | /** | ||
36 | * Creates an instance of the adapter factory. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public Viatra2LogicAnnotationsAdapterFactory() { | ||
42 | if (modelPackage == null) { | ||
43 | modelPackage = Viatra2LogicAnnotationsPackage.eINSTANCE; | ||
44 | } | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Returns whether this factory is applicable for the type of the object. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return whether this factory is applicable for the type of the object. | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | public boolean isFactoryForType(Object object) { | ||
57 | if (object == modelPackage) { | ||
58 | return true; | ||
59 | } | ||
60 | if (object instanceof EObject) { | ||
61 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
62 | } | ||
63 | return false; | ||
64 | } | ||
65 | |||
66 | /** | ||
67 | * The switch that delegates to the <code>createXXX</code> methods. | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | protected Viatra2LogicAnnotationsSwitch<Adapter> modelSwitch = | ||
73 | new Viatra2LogicAnnotationsSwitch<Adapter>() { | ||
74 | @Override | ||
75 | public Adapter caseTransfomedViatraQuery(TransfomedViatraQuery object) { | ||
76 | return createTransfomedViatraQueryAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseTransformedViatraWellformednessConstraint(TransformedViatraWellformednessConstraint object) { | ||
80 | return createTransformedViatraWellformednessConstraintAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseDefinedByDerivedFeature(DefinedByDerivedFeature object) { | ||
84 | return createDefinedByDerivedFeatureAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseAnnotation(Annotation object) { | ||
88 | return createAnnotationAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseRelationAnnotation(RelationAnnotation object) { | ||
92 | return createRelationAnnotationAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseAssertionAnnotation(AssertionAnnotation object) { | ||
96 | return createAssertionAnnotationAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter defaultCase(EObject object) { | ||
100 | return createEObjectAdapter(); | ||
101 | } | ||
102 | }; | ||
103 | |||
104 | /** | ||
105 | * Creates an adapter for the <code>target</code>. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @param target the object to adapt. | ||
109 | * @return the adapter for the <code>target</code>. | ||
110 | * @generated | ||
111 | */ | ||
112 | @Override | ||
113 | public Adapter createAdapter(Notifier target) { | ||
114 | return modelSwitch.doSwitch((EObject)target); | ||
115 | } | ||
116 | |||
117 | |||
118 | /** | ||
119 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery <em>Transfomed Viatra Query</em>}'. | ||
120 | * <!-- begin-user-doc --> | ||
121 | * This default implementation returns null so that we can easily ignore cases; | ||
122 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
123 | * <!-- end-user-doc --> | ||
124 | * @return the new adapter. | ||
125 | * @see hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery | ||
126 | * @generated | ||
127 | */ | ||
128 | public Adapter createTransfomedViatraQueryAdapter() { | ||
129 | return null; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransformedViatraWellformednessConstraint <em>Transformed Viatra Wellformedness Constraint</em>}'. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * This default implementation returns null so that we can easily ignore cases; | ||
136 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
137 | * <!-- end-user-doc --> | ||
138 | * @return the new adapter. | ||
139 | * @see hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransformedViatraWellformednessConstraint | ||
140 | * @generated | ||
141 | */ | ||
142 | public Adapter createTransformedViatraWellformednessConstraintAdapter() { | ||
143 | return null; | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.DefinedByDerivedFeature <em>Defined By Derived Feature</em>}'. | ||
148 | * <!-- begin-user-doc --> | ||
149 | * This default implementation returns null so that we can easily ignore cases; | ||
150 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
151 | * <!-- end-user-doc --> | ||
152 | * @return the new adapter. | ||
153 | * @see hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.DefinedByDerivedFeature | ||
154 | * @generated | ||
155 | */ | ||
156 | public Adapter createDefinedByDerivedFeatureAdapter() { | ||
157 | return null; | ||
158 | } | ||
159 | |||
160 | /** | ||
161 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation <em>Annotation</em>}'. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * This default implementation returns null so that we can easily ignore cases; | ||
164 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
165 | * <!-- end-user-doc --> | ||
166 | * @return the new adapter. | ||
167 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation | ||
168 | * @generated | ||
169 | */ | ||
170 | public Adapter createAnnotationAdapter() { | ||
171 | return null; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation <em>Relation Annotation</em>}'. | ||
176 | * <!-- begin-user-doc --> | ||
177 | * This default implementation returns null so that we can easily ignore cases; | ||
178 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
179 | * <!-- end-user-doc --> | ||
180 | * @return the new adapter. | ||
181 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation | ||
182 | * @generated | ||
183 | */ | ||
184 | public Adapter createRelationAnnotationAdapter() { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation <em>Assertion Annotation</em>}'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This default implementation returns null so that we can easily ignore cases; | ||
192 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @return the new adapter. | ||
195 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation | ||
196 | * @generated | ||
197 | */ | ||
198 | public Adapter createAssertionAnnotationAdapter() { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Creates a new adapter for the default case. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This default implementation returns null. | ||
206 | * <!-- end-user-doc --> | ||
207 | * @return the new adapter. | ||
208 | * @generated | ||
209 | */ | ||
210 | public Adapter createEObjectAdapter() { | ||
211 | return null; | ||
212 | } | ||
213 | |||
214 | } //Viatra2LogicAnnotationsAdapterFactory | ||