diff options
Diffstat (limited to 'Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java')
-rw-r--r-- | Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java | 265 |
1 files changed, 265 insertions, 0 deletions
diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java new file mode 100644 index 00000000..f990a7a4 --- /dev/null +++ b/Domains/Examples/ModelGenExampleFAM_plugin/ecore-gen/functionalarchitecture/util/FunctionalarchitectureAdapterFactory.java | |||
@@ -0,0 +1,265 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package functionalarchitecture.util; | ||
4 | |||
5 | import functionalarchitecture.*; | ||
6 | import functionalarchitecture.FunctionalInterface; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Adapter; | ||
9 | import org.eclipse.emf.common.notify.Notifier; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EObject; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * The <b>Adapter Factory</b> for the model. | ||
18 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @see functionalarchitecture.FunctionalarchitecturePackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class FunctionalarchitectureAdapterFactory extends AdapterFactoryImpl { | ||
24 | /** | ||
25 | * The cached model package. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @generated | ||
29 | */ | ||
30 | protected static FunctionalarchitecturePackage modelPackage; | ||
31 | |||
32 | /** | ||
33 | * Creates an instance of the adapter factory. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public FunctionalarchitectureAdapterFactory() { | ||
39 | if (modelPackage == null) { | ||
40 | modelPackage = FunctionalarchitecturePackage.eINSTANCE; | ||
41 | } | ||
42 | } | ||
43 | |||
44 | /** | ||
45 | * Returns whether this factory is applicable for the type of the object. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
48 | * <!-- end-user-doc --> | ||
49 | * @return whether this factory is applicable for the type of the object. | ||
50 | * @generated | ||
51 | */ | ||
52 | @Override | ||
53 | public boolean isFactoryForType(Object object) { | ||
54 | if (object == modelPackage) { | ||
55 | return true; | ||
56 | } | ||
57 | if (object instanceof EObject) { | ||
58 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
59 | } | ||
60 | return false; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * The switch that delegates to the <code>createXXX</code> methods. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | protected FunctionalarchitectureSwitch<Adapter> modelSwitch = | ||
70 | new FunctionalarchitectureSwitch<Adapter>() { | ||
71 | @Override | ||
72 | public Adapter caseFunctionalElement(FunctionalElement object) { | ||
73 | return createFunctionalElementAdapter(); | ||
74 | } | ||
75 | @Override | ||
76 | public Adapter caseFunctionalArchitectureModel(FunctionalArchitectureModel object) { | ||
77 | return createFunctionalArchitectureModelAdapter(); | ||
78 | } | ||
79 | @Override | ||
80 | public Adapter caseFunction(Function object) { | ||
81 | return createFunctionAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseFAMTerminator(FAMTerminator object) { | ||
85 | return createFAMTerminatorAdapter(); | ||
86 | } | ||
87 | @Override | ||
88 | public Adapter caseInformationLink(InformationLink object) { | ||
89 | return createInformationLinkAdapter(); | ||
90 | } | ||
91 | @Override | ||
92 | public Adapter caseFunctionalInterface(FunctionalInterface object) { | ||
93 | return createFunctionalInterfaceAdapter(); | ||
94 | } | ||
95 | @Override | ||
96 | public Adapter caseFunctionalInput(FunctionalInput object) { | ||
97 | return createFunctionalInputAdapter(); | ||
98 | } | ||
99 | @Override | ||
100 | public Adapter caseFunctionalOutput(FunctionalOutput object) { | ||
101 | return createFunctionalOutputAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseFunctionalData(FunctionalData object) { | ||
105 | return createFunctionalDataAdapter(); | ||
106 | } | ||
107 | @Override | ||
108 | public Adapter defaultCase(EObject object) { | ||
109 | return createEObjectAdapter(); | ||
110 | } | ||
111 | }; | ||
112 | |||
113 | /** | ||
114 | * Creates an adapter for the <code>target</code>. | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @param target the object to adapt. | ||
118 | * @return the adapter for the <code>target</code>. | ||
119 | * @generated | ||
120 | */ | ||
121 | @Override | ||
122 | public Adapter createAdapter(Notifier target) { | ||
123 | return modelSwitch.doSwitch((EObject)target); | ||
124 | } | ||
125 | |||
126 | |||
127 | /** | ||
128 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalElement <em>Functional Element</em>}'. | ||
129 | * <!-- begin-user-doc --> | ||
130 | * This default implementation returns null so that we can easily ignore cases; | ||
131 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
132 | * <!-- end-user-doc --> | ||
133 | * @return the new adapter. | ||
134 | * @see functionalarchitecture.FunctionalElement | ||
135 | * @generated | ||
136 | */ | ||
137 | public Adapter createFunctionalElementAdapter() { | ||
138 | return null; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalArchitectureModel <em>Functional Architecture Model</em>}'. | ||
143 | * <!-- begin-user-doc --> | ||
144 | * This default implementation returns null so that we can easily ignore cases; | ||
145 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
146 | * <!-- end-user-doc --> | ||
147 | * @return the new adapter. | ||
148 | * @see functionalarchitecture.FunctionalArchitectureModel | ||
149 | * @generated | ||
150 | */ | ||
151 | public Adapter createFunctionalArchitectureModelAdapter() { | ||
152 | return null; | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * Creates a new adapter for an object of class '{@link functionalarchitecture.Function <em>Function</em>}'. | ||
157 | * <!-- begin-user-doc --> | ||
158 | * This default implementation returns null so that we can easily ignore cases; | ||
159 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
160 | * <!-- end-user-doc --> | ||
161 | * @return the new adapter. | ||
162 | * @see functionalarchitecture.Function | ||
163 | * @generated | ||
164 | */ | ||
165 | public Adapter createFunctionAdapter() { | ||
166 | return null; | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FAMTerminator <em>FAM Terminator</em>}'. | ||
171 | * <!-- begin-user-doc --> | ||
172 | * This default implementation returns null so that we can easily ignore cases; | ||
173 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
174 | * <!-- end-user-doc --> | ||
175 | * @return the new adapter. | ||
176 | * @see functionalarchitecture.FAMTerminator | ||
177 | * @generated | ||
178 | */ | ||
179 | public Adapter createFAMTerminatorAdapter() { | ||
180 | return null; | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * Creates a new adapter for an object of class '{@link functionalarchitecture.InformationLink <em>Information Link</em>}'. | ||
185 | * <!-- begin-user-doc --> | ||
186 | * This default implementation returns null so that we can easily ignore cases; | ||
187 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
188 | * <!-- end-user-doc --> | ||
189 | * @return the new adapter. | ||
190 | * @see functionalarchitecture.InformationLink | ||
191 | * @generated | ||
192 | */ | ||
193 | public Adapter createInformationLinkAdapter() { | ||
194 | return null; | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalInterface <em>Functional Interface</em>}'. | ||
199 | * <!-- begin-user-doc --> | ||
200 | * This default implementation returns null so that we can easily ignore cases; | ||
201 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
202 | * <!-- end-user-doc --> | ||
203 | * @return the new adapter. | ||
204 | * @see functionalarchitecture.FunctionalInterface | ||
205 | * @generated | ||
206 | */ | ||
207 | public Adapter createFunctionalInterfaceAdapter() { | ||
208 | return null; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalInput <em>Functional Input</em>}'. | ||
213 | * <!-- begin-user-doc --> | ||
214 | * This default implementation returns null so that we can easily ignore cases; | ||
215 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
216 | * <!-- end-user-doc --> | ||
217 | * @return the new adapter. | ||
218 | * @see functionalarchitecture.FunctionalInput | ||
219 | * @generated | ||
220 | */ | ||
221 | public Adapter createFunctionalInputAdapter() { | ||
222 | return null; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalOutput <em>Functional Output</em>}'. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * This default implementation returns null so that we can easily ignore cases; | ||
229 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
230 | * <!-- end-user-doc --> | ||
231 | * @return the new adapter. | ||
232 | * @see functionalarchitecture.FunctionalOutput | ||
233 | * @generated | ||
234 | */ | ||
235 | public Adapter createFunctionalOutputAdapter() { | ||
236 | return null; | ||
237 | } | ||
238 | |||
239 | /** | ||
240 | * Creates a new adapter for an object of class '{@link functionalarchitecture.FunctionalData <em>Functional Data</em>}'. | ||
241 | * <!-- begin-user-doc --> | ||
242 | * This default implementation returns null so that we can easily ignore cases; | ||
243 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
244 | * <!-- end-user-doc --> | ||
245 | * @return the new adapter. | ||
246 | * @see functionalarchitecture.FunctionalData | ||
247 | * @generated | ||
248 | */ | ||
249 | public Adapter createFunctionalDataAdapter() { | ||
250 | return null; | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * Creates a new adapter for the default case. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * This default implementation returns null. | ||
257 | * <!-- end-user-doc --> | ||
258 | * @return the new adapter. | ||
259 | * @generated | ||
260 | */ | ||
261 | public Adapter createEObjectAdapter() { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | } //FunctionalarchitectureAdapterFactory | ||