Skip to content

Package: CarPackage$Literals

CarPackage$Literals

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 34
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 11
100%
M: 0 C: 1
100%

Coverage

1: /**
2: */
3: package car;
4:
5: import org.eclipse.emf.ecore.EAttribute;
6: import org.eclipse.emf.ecore.EClass;
7: import org.eclipse.emf.ecore.EPackage;
8: import org.eclipse.emf.ecore.EReference;
9:
10: /**
11: * <!-- begin-user-doc --> The <b>Package</b> for the model. It contains
12: * accessors for the meta objects to represent
13: * <ul>
14: * <li>each class,</li>
15: * <li>each feature of each class,</li>
16: * <li>each operation of each class,</li>
17: * <li>each enum,</li>
18: * <li>and each data type</li>
19: * </ul>
20: * <!-- end-user-doc -->
21: *
22: * @see car.CarFactory
23: * @model kind="package"
24: * @generated
25: */
26: public interface CarPackage extends EPackage {
27:         /**
28:          * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
29:          *
30:          * @generated
31:          */
32:         String eNAME = "car";
33:
34:         /**
35:          * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
36:          *
37:          * @generated
38:          */
39:         String eNS_URI = "http://eclipsesource.com/example/model";
40:
41:         /**
42:          * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
43:          *
44:          * @generated
45:          */
46:         String eNS_PREFIX = "com.eclipsesource.example.model";
47:
48:         /**
49:          * The singleton instance of the package. <!-- begin-user-doc --> <!--
50:          * end-user-doc -->
51:          *
52:          * @generated
53:          */
54:         CarPackage eINSTANCE = car.impl.CarPackageImpl.init();
55:
56:         /**
57:          * The meta object id for the '{@link car.impl.PersonImpl <em>Person</em>}'
58:          * class. <!-- begin-user-doc --> <!-- end-user-doc -->
59:          *
60:          * @see car.impl.PersonImpl
61:          * @see car.impl.CarPackageImpl#getPerson()
62:          * @generated
63:          */
64:         int PERSON = 0;
65:
66:         /**
67:          * The feature id for the '<em><b>Name</b></em>' attribute. <!--
68:          * begin-user-doc --> <!-- end-user-doc -->
69:          *
70:          * @generated
71:          * @ordered
72:          */
73:         int PERSON__NAME = 0;
74:
75:         /**
76:          * The feature id for the '<em><b>Children</b></em>' containment reference
77:          * list. <!-- begin-user-doc --> <!-- end-user-doc -->
78:          *
79:          * @generated
80:          * @ordered
81:          */
82:         int PERSON__CHILDREN = 1;
83:
84:         /**
85:          * The feature id for the '<em><b>Birth Place</b></em>' attribute. <!--
86:          * begin-user-doc --> <!-- end-user-doc -->
87:          *
88:          * @generated
89:          * @ordered
90:          */
91:         int PERSON__BIRTH_PLACE = 2;
92:
93:         /**
94:          * The number of structural features of the '<em>Person</em>' class. <!--
95:          * begin-user-doc --> <!-- end-user-doc -->
96:          *
97:          * @generated
98:          * @ordered
99:          */
100:         int PERSON_FEATURE_COUNT = 3;
101:
102:         /**
103:          * The number of operations of the '<em>Person</em>' class. <!--
104:          * begin-user-doc --> <!-- end-user-doc -->
105:          *
106:          * @generated
107:          * @ordered
108:          */
109:         int PERSON_OPERATION_COUNT = 0;
110:
111:         /**
112:          * The meta object id for the '{@link car.impl.DriverImpl <em>Driver</em>}'
113:          * class. <!-- begin-user-doc --> <!-- end-user-doc -->
114:          *
115:          * @see car.impl.DriverImpl
116:          * @see car.impl.CarPackageImpl#getDriver()
117:          * @generated
118:          */
119:         int DRIVER = 1;
120:
121:         /**
122:          * The feature id for the '<em><b>Name</b></em>' attribute. <!--
123:          * begin-user-doc --> <!-- end-user-doc -->
124:          *
125:          * @generated
126:          * @ordered
127:          */
128:         int DRIVER__NAME = PERSON__NAME;
129:
130:         /**
131:          * The feature id for the '<em><b>Children</b></em>' containment reference
132:          * list. <!-- begin-user-doc --> <!-- end-user-doc -->
133:          *
134:          * @generated
135:          * @ordered
136:          */
137:         int DRIVER__CHILDREN = PERSON__CHILDREN;
138:
139:         /**
140:          * The feature id for the '<em><b>Birth Place</b></em>' attribute. <!--
141:          * begin-user-doc --> <!-- end-user-doc -->
142:          *
143:          * @generated
144:          * @ordered
145:          */
146:         int DRIVER__BIRTH_PLACE = PERSON__BIRTH_PLACE;
147:
148:         /**
149:          * The feature id for the '<em><b>Age</b></em>' attribute. <!--
150:          * begin-user-doc --> <!-- end-user-doc -->
151:          *
152:          * @generated
153:          * @ordered
154:          */
155:         int DRIVER__AGE = PERSON_FEATURE_COUNT + 0;
156:
157:         /**
158:          * The number of structural features of the '<em>Driver</em>' class. <!--
159:          * begin-user-doc --> <!-- end-user-doc -->
160:          *
161:          * @generated
162:          * @ordered
163:          */
164:         int DRIVER_FEATURE_COUNT = PERSON_FEATURE_COUNT + 1;
165:
166:         /**
167:          * The number of operations of the '<em>Driver</em>' class. <!--
168:          * begin-user-doc --> <!-- end-user-doc -->
169:          *
170:          * @generated
171:          * @ordered
172:          */
173:         int DRIVER_OPERATION_COUNT = PERSON_OPERATION_COUNT + 0;
174:
175:         /**
176:          * The meta object id for the '{@link car.impl.CarImpl <em>Car</em>}' class.
177:          * <!-- begin-user-doc --> <!-- end-user-doc -->
178:          *
179:          * @see car.impl.CarImpl
180:          * @see car.impl.CarPackageImpl#getCar()
181:          * @generated
182:          */
183:         int CAR = 2;
184:
185:         /**
186:          * The feature id for the '<em><b>Manufacturer</b></em>' attribute. <!--
187:          * begin-user-doc --> <!-- end-user-doc -->
188:          *
189:          * @generated
190:          * @ordered
191:          */
192:         int CAR__MANUFACTURER = 0;
193:
194:         /**
195:          * The feature id for the '<em><b>License Plate</b></em>' attribute. <!--
196:          * begin-user-doc --> <!-- end-user-doc -->
197:          *
198:          * @generated
199:          * @ordered
200:          */
201:         int CAR__LICENSE_PLATE = 1;
202:
203:         /**
204:          * The feature id for the '<em><b>Seat Count</b></em>' attribute. <!--
205:          * begin-user-doc --> <!-- end-user-doc -->
206:          *
207:          * @generated
208:          * @ordered
209:          */
210:         int CAR__SEAT_COUNT = 2;
211:
212:         /**
213:          * The feature id for the '<em><b>Driver</b></em>' containment reference.
214:          * <!-- begin-user-doc --> <!-- end-user-doc -->
215:          *
216:          * @generated
217:          * @ordered
218:          */
219:         int CAR__DRIVER = 3;
220:
221:         /**
222:          * The number of structural features of the '<em>Car</em>' class. <!--
223:          * begin-user-doc --> <!-- end-user-doc -->
224:          *
225:          * @generated
226:          * @ordered
227:          */
228:         int CAR_FEATURE_COUNT = 4;
229:
230:         /**
231:          * The number of operations of the '<em>Car</em>' class. <!-- begin-user-doc
232:          * --> <!-- end-user-doc -->
233:          *
234:          * @generated
235:          * @ordered
236:          */
237:         int CAR_OPERATION_COUNT = 0;
238:
239:         /**
240:          * Returns the meta object for class '{@link car.Person <em>Person</em>}'.
241:          * <!-- begin-user-doc --> <!-- end-user-doc -->
242:          *
243:          * @return the meta object for class '<em>Person</em>'.
244:          * @see car.Person
245:          * @generated
246:          */
247:         EClass getPerson();
248:
249:         /**
250:          * Returns the meta object for the attribute '{@link car.Person#getName
251:          * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
252:          *
253:          * @return the meta object for the attribute '<em>Name</em>'.
254:          * @see car.Person#getName()
255:          * @see #getPerson()
256:          * @generated
257:          */
258:         EAttribute getPerson_Name();
259:
260:         /**
261:          * Returns the meta object for the containment reference list '
262:          * {@link car.Person#getChildren <em>Children</em>}'. <!-- begin-user-doc
263:          * --> <!-- end-user-doc -->
264:          *
265:          * @return the meta object for the containment reference list '
266:          * <em>Children</em>'.
267:          * @see car.Person#getChildren()
268:          * @see #getPerson()
269:          * @generated
270:          */
271:         EReference getPerson_Children();
272:
273:         /**
274:          * Returns the meta object for the attribute '
275:          * {@link car.Person#getBirthPlace <em>Birth Place</em>}'. <!--
276:          * begin-user-doc --> <!-- end-user-doc -->
277:          *
278:          * @return the meta object for the attribute '<em>Birth Place</em>'.
279:          * @see car.Person#getBirthPlace()
280:          * @see #getPerson()
281:          * @generated
282:          */
283:         EAttribute getPerson_BirthPlace();
284:
285:         /**
286:          * Returns the meta object for class '{@link car.Driver <em>Driver</em>}'.
287:          * <!-- begin-user-doc --> <!-- end-user-doc -->
288:          *
289:          * @return the meta object for class '<em>Driver</em>'.
290:          * @see car.Driver
291:          * @generated
292:          */
293:         EClass getDriver();
294:
295:         /**
296:          * Returns the meta object for the attribute '{@link car.Driver#getAge
297:          * <em>Age</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
298:          *
299:          * @return the meta object for the attribute '<em>Age</em>'.
300:          * @see car.Driver#getAge()
301:          * @see #getDriver()
302:          * @generated
303:          */
304:         EAttribute getDriver_Age();
305:
306:         /**
307:          * Returns the meta object for class '{@link car.Car <em>Car</em>}'. <!--
308:          * begin-user-doc --> <!-- end-user-doc -->
309:          *
310:          * @return the meta object for class '<em>Car</em>'.
311:          * @see car.Car
312:          * @generated
313:          */
314:         EClass getCar();
315:
316:         /**
317:          * Returns the meta object for the attribute '
318:          * {@link car.Car#getManufacturer <em>Manufacturer</em>}'. <!--
319:          * begin-user-doc --> <!-- end-user-doc -->
320:          *
321:          * @return the meta object for the attribute '<em>Manufacturer</em>'.
322:          * @see car.Car#getManufacturer()
323:          * @see #getCar()
324:          * @generated
325:          */
326:         EAttribute getCar_Manufacturer();
327:
328:         /**
329:          * Returns the meta object for the attribute '
330:          * {@link car.Car#getLicensePlate <em>License Plate</em>}'. <!--
331:          * begin-user-doc --> <!-- end-user-doc -->
332:          *
333:          * @return the meta object for the attribute '<em>License Plate</em>'.
334:          * @see car.Car#getLicensePlate()
335:          * @see #getCar()
336:          * @generated
337:          */
338:         EAttribute getCar_LicensePlate();
339:
340:         /**
341:          * Returns the meta object for the attribute '{@link car.Car#getSeatCount
342:          * <em>Seat Count</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
343:          *
344:          * @return the meta object for the attribute '<em>Seat Count</em>'.
345:          * @see car.Car#getSeatCount()
346:          * @see #getCar()
347:          * @generated
348:          */
349:         EAttribute getCar_SeatCount();
350:
351:         /**
352:          * Returns the meta object for the containment reference '
353:          * {@link car.Car#getDriver <em>Driver</em>}'. <!-- begin-user-doc --> <!--
354:          * end-user-doc -->
355:          *
356:          * @return the meta object for the containment reference '<em>Driver</em>'.
357:          * @see car.Car#getDriver()
358:          * @see #getCar()
359:          * @generated
360:          */
361:         EReference getCar_Driver();
362:
363:         /**
364:          * Returns the factory that creates the instances of the model. <!--
365:          * begin-user-doc --> <!-- end-user-doc -->
366:          *
367:          * @return the factory that creates the instances of the model.
368:          * @generated
369:          */
370:         CarFactory getCarFactory();
371:
372:         /**
373:          * <!-- begin-user-doc --> Defines literals for the meta objects that
374:          * represent
375:          * <ul>
376:          * <li>each class,</li>
377:          * <li>each feature of each class,</li>
378:          * <li>each operation of each class,</li>
379:          * <li>each enum,</li>
380:          * <li>and each data type</li>
381:          * </ul>
382:          * <!-- end-user-doc -->
383:          *
384:          * @generated
385:          */
386:         interface Literals {
387:                 /**
388:                  * The meta object literal for the '{@link car.impl.PersonImpl
389:                  * <em>Person</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
390:                  * -->
391:                  *
392:                  * @see car.impl.PersonImpl
393:                  * @see car.impl.CarPackageImpl#getPerson()
394:                  * @generated
395:                  */
396:                 EClass PERSON = eINSTANCE.getPerson();
397:
398:                 /**
399:                  * The meta object literal for the '<em><b>Name</b></em>' attribute
400:                  * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
401:                  *
402:                  * @generated
403:                  */
404:                 EAttribute PERSON__NAME = eINSTANCE.getPerson_Name();
405:
406:                 /**
407:                  * The meta object literal for the '<em><b>Children</b></em>'
408:                  * containment reference list feature. <!-- begin-user-doc --> <!--
409:                  * end-user-doc -->
410:                  *
411:                  * @generated
412:                  */
413:                 EReference PERSON__CHILDREN = eINSTANCE.getPerson_Children();
414:
415:                 /**
416:                  * The meta object literal for the '<em><b>Birth Place</b></em>'
417:                  * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
418:                  *
419:                  * @generated
420:                  */
421:                 EAttribute PERSON__BIRTH_PLACE = eINSTANCE.getPerson_BirthPlace();
422:
423:                 /**
424:                  * The meta object literal for the '{@link car.impl.DriverImpl
425:                  * <em>Driver</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc
426:                  * -->
427:                  *
428:                  * @see car.impl.DriverImpl
429:                  * @see car.impl.CarPackageImpl#getDriver()
430:                  * @generated
431:                  */
432:                 EClass DRIVER = eINSTANCE.getDriver();
433:
434:                 /**
435:                  * The meta object literal for the '<em><b>Age</b></em>' attribute
436:                  * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
437:                  *
438:                  * @generated
439:                  */
440:                 EAttribute DRIVER__AGE = eINSTANCE.getDriver_Age();
441:
442:                 /**
443:                  * The meta object literal for the '{@link car.impl.CarImpl
444:                  * <em>Car</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
445:                  *
446:                  * @see car.impl.CarImpl
447:                  * @see car.impl.CarPackageImpl#getCar()
448:                  * @generated
449:                  */
450:                 EClass CAR = eINSTANCE.getCar();
451:
452:                 /**
453:                  * The meta object literal for the '<em><b>Manufacturer</b></em>'
454:                  * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
455:                  *
456:                  * @generated
457:                  */
458:                 EAttribute CAR__MANUFACTURER = eINSTANCE.getCar_Manufacturer();
459:
460:                 /**
461:                  * The meta object literal for the '<em><b>License Plate</b></em>'
462:                  * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
463:                  *
464:                  * @generated
465:                  */
466:                 EAttribute CAR__LICENSE_PLATE = eINSTANCE.getCar_LicensePlate();
467:
468:                 /**
469:                  * The meta object literal for the '<em><b>Seat Count</b></em>'
470:                  * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
471:                  *
472:                  * @generated
473:                  */
474:                 EAttribute CAR__SEAT_COUNT = eINSTANCE.getCar_SeatCount();
475:
476:                 /**
477:                  * The meta object literal for the '<em><b>Driver</b></em>' containment
478:                  * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
479:                  *
480:                  * @generated
481:                  */
482:                 EReference CAR__DRIVER = eINSTANCE.getCar_Driver();
483:
484:         }
485:
486: } // CarPackage