aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java')
-rw-r--r--Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java282
1 files changed, 282 insertions, 0 deletions
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java
new file mode 100644
index 00000000..eb9bc05f
--- /dev/null
+++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java
@@ -0,0 +1,282 @@
1/**
2 */
3package simpleScenario.util;
4
5import org.eclipse.emf.common.notify.Adapter;
6import org.eclipse.emf.common.notify.Notifier;
7
8import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
9
10import org.eclipse.emf.ecore.EObject;
11
12import simpleScenario.*;
13
14/**
15 * <!-- begin-user-doc -->
16 * The <b>Adapter Factory</b> for the model.
17 * It provides an adapter <code>createXXX</code> method for each class of the model.
18 * <!-- end-user-doc -->
19 * @see simpleScenario.SimpleScenarioPackage
20 * @generated
21 */
22public class SimpleScenarioAdapterFactory extends AdapterFactoryImpl {
23 /**
24 * The cached model package.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @generated
28 */
29 protected static SimpleScenarioPackage modelPackage;
30
31 /**
32 * Creates an instance of the adapter factory.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @generated
36 */
37 public SimpleScenarioAdapterFactory() {
38 if (modelPackage == null) {
39 modelPackage = SimpleScenarioPackage.eINSTANCE;
40 }
41 }
42
43 /**
44 * Returns whether this factory is applicable for the type of the object.
45 * <!-- begin-user-doc -->
46 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
47 * <!-- end-user-doc -->
48 * @return whether this factory is applicable for the type of the object.
49 * @generated
50 */
51 @Override
52 public boolean isFactoryForType(Object object) {
53 if (object == modelPackage) {
54 return true;
55 }
56 if (object instanceof EObject) {
57 return ((EObject)object).eClass().getEPackage() == modelPackage;
58 }
59 return false;
60 }
61
62 /**
63 * The switch that delegates to the <code>createXXX</code> methods.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 protected SimpleScenarioSwitch<Adapter> modelSwitch =
69 new SimpleScenarioSwitch<Adapter>() {
70 @Override
71 public Adapter caseSimpleScenario(SimpleScenario object) {
72 return createSimpleScenarioAdapter();
73 }
74 @Override
75 public Adapter caseLane(Lane object) {
76 return createLaneAdapter();
77 }
78 @Override
79 public Adapter caseActor(Actor object) {
80 return createActorAdapter();
81 }
82 @Override
83 public Adapter caseRelation(Relation object) {
84 return createRelationAdapter();
85 }
86 @Override
87 public Adapter caseSpatialRelation(SpatialRelation object) {
88 return createSpatialRelationAdapter();
89 }
90 @Override
91 public Adapter caseTemporalRelation(TemporalRelation object) {
92 return createTemporalRelationAdapter();
93 }
94 @Override
95 public Adapter caseVisionBlocked(VisionBlocked object) {
96 return createVisionBlockedAdapter();
97 }
98 @Override
99 public Adapter caseSeperationDistance(SeperationDistance object) {
100 return createSeperationDistanceAdapter();
101 }
102 @Override
103 public Adapter caseCollisionExists(CollisionExists object) {
104 return createCollisionExistsAdapter();
105 }
106 @Override
107 public Adapter caseCollisionDoesNotExist(CollisionDoesNotExist object) {
108 return createCollisionDoesNotExistAdapter();
109 }
110 @Override
111 public Adapter defaultCase(EObject object) {
112 return createEObjectAdapter();
113 }
114 };
115
116 /**
117 * Creates an adapter for the <code>target</code>.
118 * <!-- begin-user-doc -->
119 * <!-- end-user-doc -->
120 * @param target the object to adapt.
121 * @return the adapter for the <code>target</code>.
122 * @generated
123 */
124 @Override
125 public Adapter createAdapter(Notifier target) {
126 return modelSwitch.doSwitch((EObject)target);
127 }
128
129
130 /**
131 * Creates a new adapter for an object of class '{@link simpleScenario.SimpleScenario <em>Simple Scenario</em>}'.
132 * <!-- begin-user-doc -->
133 * This default implementation returns null so that we can easily ignore cases;
134 * it's useful to ignore a case when inheritance will catch all the cases anyway.
135 * <!-- end-user-doc -->
136 * @return the new adapter.
137 * @see simpleScenario.SimpleScenario
138 * @generated
139 */
140 public Adapter createSimpleScenarioAdapter() {
141 return null;
142 }
143
144 /**
145 * Creates a new adapter for an object of class '{@link simpleScenario.Lane <em>Lane</em>}'.
146 * <!-- begin-user-doc -->
147 * This default implementation returns null so that we can easily ignore cases;
148 * it's useful to ignore a case when inheritance will catch all the cases anyway.
149 * <!-- end-user-doc -->
150 * @return the new adapter.
151 * @see simpleScenario.Lane
152 * @generated
153 */
154 public Adapter createLaneAdapter() {
155 return null;
156 }
157
158 /**
159 * Creates a new adapter for an object of class '{@link simpleScenario.Actor <em>Actor</em>}'.
160 * <!-- begin-user-doc -->
161 * This default implementation returns null so that we can easily ignore cases;
162 * it's useful to ignore a case when inheritance will catch all the cases anyway.
163 * <!-- end-user-doc -->
164 * @return the new adapter.
165 * @see simpleScenario.Actor
166 * @generated
167 */
168 public Adapter createActorAdapter() {
169 return null;
170 }
171
172 /**
173 * Creates a new adapter for an object of class '{@link simpleScenario.Relation <em>Relation</em>}'.
174 * <!-- begin-user-doc -->
175 * This default implementation returns null so that we can easily ignore cases;
176 * it's useful to ignore a case when inheritance will catch all the cases anyway.
177 * <!-- end-user-doc -->
178 * @return the new adapter.
179 * @see simpleScenario.Relation
180 * @generated
181 */
182 public Adapter createRelationAdapter() {
183 return null;
184 }
185
186 /**
187 * Creates a new adapter for an object of class '{@link simpleScenario.SpatialRelation <em>Spatial Relation</em>}'.
188 * <!-- begin-user-doc -->
189 * This default implementation returns null so that we can easily ignore cases;
190 * it's useful to ignore a case when inheritance will catch all the cases anyway.
191 * <!-- end-user-doc -->
192 * @return the new adapter.
193 * @see simpleScenario.SpatialRelation
194 * @generated
195 */
196 public Adapter createSpatialRelationAdapter() {
197 return null;
198 }
199
200 /**
201 * Creates a new adapter for an object of class '{@link simpleScenario.TemporalRelation <em>Temporal Relation</em>}'.
202 * <!-- begin-user-doc -->
203 * This default implementation returns null so that we can easily ignore cases;
204 * it's useful to ignore a case when inheritance will catch all the cases anyway.
205 * <!-- end-user-doc -->
206 * @return the new adapter.
207 * @see simpleScenario.TemporalRelation
208 * @generated
209 */
210 public Adapter createTemporalRelationAdapter() {
211 return null;
212 }
213
214 /**
215 * Creates a new adapter for an object of class '{@link simpleScenario.VisionBlocked <em>Vision Blocked</em>}'.
216 * <!-- begin-user-doc -->
217 * This default implementation returns null so that we can easily ignore cases;
218 * it's useful to ignore a case when inheritance will catch all the cases anyway.
219 * <!-- end-user-doc -->
220 * @return the new adapter.
221 * @see simpleScenario.VisionBlocked
222 * @generated
223 */
224 public Adapter createVisionBlockedAdapter() {
225 return null;
226 }
227
228 /**
229 * Creates a new adapter for an object of class '{@link simpleScenario.SeperationDistance <em>Seperation Distance</em>}'.
230 * <!-- begin-user-doc -->
231 * This default implementation returns null so that we can easily ignore cases;
232 * it's useful to ignore a case when inheritance will catch all the cases anyway.
233 * <!-- end-user-doc -->
234 * @return the new adapter.
235 * @see simpleScenario.SeperationDistance
236 * @generated
237 */
238 public Adapter createSeperationDistanceAdapter() {
239 return null;
240 }
241
242 /**
243 * Creates a new adapter for an object of class '{@link simpleScenario.CollisionExists <em>Collision Exists</em>}'.
244 * <!-- begin-user-doc -->
245 * This default implementation returns null so that we can easily ignore cases;
246 * it's useful to ignore a case when inheritance will catch all the cases anyway.
247 * <!-- end-user-doc -->
248 * @return the new adapter.
249 * @see simpleScenario.CollisionExists
250 * @generated
251 */
252 public Adapter createCollisionExistsAdapter() {
253 return null;
254 }
255
256 /**
257 * Creates a new adapter for an object of class '{@link simpleScenario.CollisionDoesNotExist <em>Collision Does Not Exist</em>}'.
258 * <!-- begin-user-doc -->
259 * This default implementation returns null so that we can easily ignore cases;
260 * it's useful to ignore a case when inheritance will catch all the cases anyway.
261 * <!-- end-user-doc -->
262 * @return the new adapter.
263 * @see simpleScenario.CollisionDoesNotExist
264 * @generated
265 */
266 public Adapter createCollisionDoesNotExistAdapter() {
267 return null;
268 }
269
270 /**
271 * Creates a new adapter for the default case.
272 * <!-- begin-user-doc -->
273 * This default implementation returns null.
274 * <!-- end-user-doc -->
275 * @return the new adapter.
276 * @generated
277 */
278 public Adapter createEObjectAdapter() {
279 return null;
280 }
281
282} //SimpleScenarioAdapterFactory