aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java')
-rw-r--r--Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java159
1 files changed, 159 insertions, 0 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java
new file mode 100644
index 00000000..2777a18d
--- /dev/null
+++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partial2logicannotations/util/Partial2logicannotationsAdapterFactory.java
@@ -0,0 +1,159 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.util;
4
5import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation;
6import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation;
7
8import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.*;
9
10import org.eclipse.emf.common.notify.Adapter;
11import org.eclipse.emf.common.notify.Notifier;
12
13import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
14
15import org.eclipse.emf.ecore.EObject;
16
17/**
18 * <!-- begin-user-doc -->
19 * The <b>Adapter Factory</b> for the model.
20 * It provides an adapter <code>createXXX</code> method for each class of the model.
21 * <!-- end-user-doc -->
22 * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.Partial2logicannotationsPackage
23 * @generated
24 */
25public class Partial2logicannotationsAdapterFactory extends AdapterFactoryImpl {
26 /**
27 * The cached model package.
28 * <!-- begin-user-doc -->
29 * <!-- end-user-doc -->
30 * @generated
31 */
32 protected static Partial2logicannotationsPackage modelPackage;
33
34 /**
35 * Creates an instance of the adapter factory.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @generated
39 */
40 public Partial2logicannotationsAdapterFactory() {
41 if (modelPackage == null) {
42 modelPackage = Partial2logicannotationsPackage.eINSTANCE;
43 }
44 }
45
46 /**
47 * Returns whether this factory is applicable for the type of the object.
48 * <!-- begin-user-doc -->
49 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
50 * <!-- end-user-doc -->
51 * @return whether this factory is applicable for the type of the object.
52 * @generated
53 */
54 @Override
55 public boolean isFactoryForType(Object object) {
56 if (object == modelPackage) {
57 return true;
58 }
59 if (object instanceof EObject) {
60 return ((EObject)object).eClass().getEPackage() == modelPackage;
61 }
62 return false;
63 }
64
65 /**
66 * The switch that delegates to the <code>createXXX</code> methods.
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 protected Partial2logicannotationsSwitch<Adapter> modelSwitch =
72 new Partial2logicannotationsSwitch<Adapter>() {
73 @Override
74 public Adapter casePartialModelRelation2Assertion(PartialModelRelation2Assertion object) {
75 return createPartialModelRelation2AssertionAdapter();
76 }
77 @Override
78 public Adapter caseAnnotation(Annotation object) {
79 return createAnnotationAdapter();
80 }
81 @Override
82 public Adapter caseAssertionAnnotation(AssertionAnnotation object) {
83 return createAssertionAnnotationAdapter();
84 }
85 @Override
86 public Adapter defaultCase(EObject object) {
87 return createEObjectAdapter();
88 }
89 };
90
91 /**
92 * Creates an adapter for the <code>target</code>.
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @param target the object to adapt.
96 * @return the adapter for the <code>target</code>.
97 * @generated
98 */
99 @Override
100 public Adapter createAdapter(Notifier target) {
101 return modelSwitch.doSwitch((EObject)target);
102 }
103
104
105 /**
106 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion <em>Partial Model Relation2 Assertion</em>}'.
107 * <!-- begin-user-doc -->
108 * This default implementation returns null so that we can easily ignore cases;
109 * it's useful to ignore a case when inheritance will catch all the cases anyway.
110 * <!-- end-user-doc -->
111 * @return the new adapter.
112 * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion
113 * @generated
114 */
115 public Adapter createPartialModelRelation2AssertionAdapter() {
116 return null;
117 }
118
119 /**
120 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation <em>Annotation</em>}'.
121 * <!-- begin-user-doc -->
122 * This default implementation returns null so that we can easily ignore cases;
123 * it's useful to ignore a case when inheritance will catch all the cases anyway.
124 * <!-- end-user-doc -->
125 * @return the new adapter.
126 * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation
127 * @generated
128 */
129 public Adapter createAnnotationAdapter() {
130 return null;
131 }
132
133 /**
134 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation <em>Assertion Annotation</em>}'.
135 * <!-- begin-user-doc -->
136 * This default implementation returns null so that we can easily ignore cases;
137 * it's useful to ignore a case when inheritance will catch all the cases anyway.
138 * <!-- end-user-doc -->
139 * @return the new adapter.
140 * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation
141 * @generated
142 */
143 public Adapter createAssertionAnnotationAdapter() {
144 return null;
145 }
146
147 /**
148 * Creates a new adapter for the default case.
149 * <!-- begin-user-doc -->
150 * This default implementation returns null.
151 * <!-- end-user-doc -->
152 * @return the new adapter.
153 * @generated
154 */
155 public Adapter createEObjectAdapter() {
156 return null;
157 }
158
159} //Partial2logicannotationsAdapterFactory