Skip to content

Package: ExamplePackage

ExamplePackage

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /**
2: * Copyright (c) 2011-2014 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.index.test.example;
15:
16: import org.eclipse.emf.ecore.EAttribute;
17: import org.eclipse.emf.ecore.EClass;
18: import org.eclipse.emf.ecore.EPackage;
19: import org.eclipse.emf.ecore.EReference;
20:
21: /**
22: * <!-- begin-user-doc -->
23: * The <b>Package</b> for the model.
24: * It contains accessors for the meta objects to represent
25: * <ul>
26: * <li>each class,</li>
27: * <li>each feature of each class,</li>
28: * <li>each operation of each class,</li>
29: * <li>each enum,</li>
30: * <li>and each data type</li>
31: * </ul>
32: * <!-- end-user-doc -->
33: *
34: * @see org.eclipse.emf.ecp.view.index.test.example.ExampleFactory
35: * @model kind="package"
36: * @generated
37: */
38: public interface ExamplePackage extends EPackage {
39:         /**
40:          * The package name.
41:          * <!-- begin-user-doc -->
42:          * <!-- end-user-doc -->
43:          *
44:          * @generated
45:          */
46:         String eNAME = "example"; //$NON-NLS-1$
47:
48:         /**
49:          * The package namespace URI.
50:          * <!-- begin-user-doc -->
51:          * <!-- end-user-doc -->
52:          *
53:          * @generated
54:          */
55:         String eNS_URI = "http://www.eclipse.org/emf/ecp/example/index/model"; //$NON-NLS-1$
56:
57:         /**
58:          * The package namespace name.
59:          * <!-- begin-user-doc -->
60:          * <!-- end-user-doc -->
61:          *
62:          * @generated
63:          */
64:         String eNS_PREFIX = "org.eclipse.emf.ecp.example.index.model"; //$NON-NLS-1$
65:
66:         /**
67:          * The singleton instance of the package.
68:          * <!-- begin-user-doc -->
69:          * <!-- end-user-doc -->
70:          *
71:          * @generated
72:          */
73:         ExamplePackage eINSTANCE = org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl.init();
74:
75:         /**
76:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.RootImpl <em>Root</em>}'
77:          * class.
78:          * <!-- begin-user-doc -->
79:          * <!-- end-user-doc -->
80:          *
81:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.RootImpl
82:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getRoot()
83:          * @generated
84:          */
85:         int ROOT = 0;
86:
87:         /**
88:          * The feature id for the '<em><b>Intermediate</b></em>' containment reference.
89:          * <!-- begin-user-doc -->
90:          * <!-- end-user-doc -->
91:          *
92:          * @generated
93:          * @ordered
94:          */
95:         int ROOT__INTERMEDIATE = 0;
96:
97:         /**
98:          * The number of structural features of the '<em>Root</em>' class.
99:          * <!-- begin-user-doc -->
100:          * <!-- end-user-doc -->
101:          *
102:          * @generated
103:          * @ordered
104:          */
105:         int ROOT_FEATURE_COUNT = 1;
106:
107:         /**
108:          * The number of operations of the '<em>Root</em>' class.
109:          * <!-- begin-user-doc -->
110:          * <!-- end-user-doc -->
111:          *
112:          * @generated
113:          * @ordered
114:          */
115:         int ROOT_OPERATION_COUNT = 0;
116:
117:         /**
118:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateImpl
119:          * <em>Intermediate</em>}' class.
120:          * <!-- begin-user-doc -->
121:          * <!-- end-user-doc -->
122:          *
123:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateImpl
124:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getIntermediate()
125:          * @generated
126:          */
127:         int INTERMEDIATE = 1;
128:
129:         /**
130:          * The feature id for the '<em><b>Container</b></em>' containment reference.
131:          * <!-- begin-user-doc -->
132:          * <!-- end-user-doc -->
133:          *
134:          * @generated
135:          * @ordered
136:          */
137:         int INTERMEDIATE__CONTAINER = 0;
138:
139:         /**
140:          * The number of structural features of the '<em>Intermediate</em>' class.
141:          * <!-- begin-user-doc -->
142:          * <!-- end-user-doc -->
143:          *
144:          * @generated
145:          * @ordered
146:          */
147:         int INTERMEDIATE_FEATURE_COUNT = 1;
148:
149:         /**
150:          * The number of operations of the '<em>Intermediate</em>' class.
151:          * <!-- begin-user-doc -->
152:          * <!-- end-user-doc -->
153:          *
154:          * @generated
155:          * @ordered
156:          */
157:         int INTERMEDIATE_OPERATION_COUNT = 0;
158:
159:         /**
160:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.ContainerImpl
161:          * <em>Container</em>}' class.
162:          * <!-- begin-user-doc -->
163:          * <!-- end-user-doc -->
164:          *
165:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ContainerImpl
166:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getContainer()
167:          * @generated
168:          */
169:         int CONTAINER = 2;
170:
171:         /**
172:          * The feature id for the '<em><b>Children</b></em>' containment reference list.
173:          * <!-- begin-user-doc -->
174:          * <!-- end-user-doc -->
175:          *
176:          * @generated
177:          * @ordered
178:          */
179:         int CONTAINER__CHILDREN = 0;
180:
181:         /**
182:          * The number of structural features of the '<em>Container</em>' class.
183:          * <!-- begin-user-doc -->
184:          * <!-- end-user-doc -->
185:          *
186:          * @generated
187:          * @ordered
188:          */
189:         int CONTAINER_FEATURE_COUNT = 1;
190:
191:         /**
192:          * The number of operations of the '<em>Container</em>' class.
193:          * <!-- begin-user-doc -->
194:          * <!-- end-user-doc -->
195:          *
196:          * @generated
197:          * @ordered
198:          */
199:         int CONTAINER_OPERATION_COUNT = 0;
200:
201:         /**
202:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.ChildImpl <em>Child</em>}'
203:          * class.
204:          * <!-- begin-user-doc -->
205:          * <!-- end-user-doc -->
206:          *
207:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ChildImpl
208:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getChild()
209:          * @generated
210:          */
211:         int CHILD = 3;
212:
213:         /**
214:          * The feature id for the '<em><b>Intermediate Target</b></em>' containment reference.
215:          * <!-- begin-user-doc -->
216:          * <!-- end-user-doc -->
217:          *
218:          * @generated
219:          * @ordered
220:          */
221:         int CHILD__INTERMEDIATE_TARGET = 0;
222:
223:         /**
224:          * The number of structural features of the '<em>Child</em>' class.
225:          * <!-- begin-user-doc -->
226:          * <!-- end-user-doc -->
227:          *
228:          * @generated
229:          * @ordered
230:          */
231:         int CHILD_FEATURE_COUNT = 1;
232:
233:         /**
234:          * The number of operations of the '<em>Child</em>' class.
235:          * <!-- begin-user-doc -->
236:          * <!-- end-user-doc -->
237:          *
238:          * @generated
239:          * @ordered
240:          */
241:         int CHILD_OPERATION_COUNT = 0;
242:
243:         /**
244:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateTargetImpl
245:          * <em>Intermediate Target</em>}' class.
246:          * <!-- begin-user-doc -->
247:          * <!-- end-user-doc -->
248:          *
249:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateTargetImpl
250:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getIntermediateTarget()
251:          * @generated
252:          */
253:         int INTERMEDIATE_TARGET = 4;
254:
255:         /**
256:          * The feature id for the '<em><b>Target</b></em>' containment reference.
257:          * <!-- begin-user-doc -->
258:          * <!-- end-user-doc -->
259:          *
260:          * @generated
261:          * @ordered
262:          */
263:         int INTERMEDIATE_TARGET__TARGET = 0;
264:
265:         /**
266:          * The number of structural features of the '<em>Intermediate Target</em>' class.
267:          * <!-- begin-user-doc -->
268:          * <!-- end-user-doc -->
269:          *
270:          * @generated
271:          * @ordered
272:          */
273:         int INTERMEDIATE_TARGET_FEATURE_COUNT = 1;
274:
275:         /**
276:          * The number of operations of the '<em>Intermediate Target</em>' class.
277:          * <!-- begin-user-doc -->
278:          * <!-- end-user-doc -->
279:          *
280:          * @generated
281:          * @ordered
282:          */
283:         int INTERMEDIATE_TARGET_OPERATION_COUNT = 0;
284:
285:         /**
286:          * The meta object id for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.TargetImpl <em>Target</em>}'
287:          * class.
288:          * <!-- begin-user-doc -->
289:          * <!-- end-user-doc -->
290:          *
291:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.TargetImpl
292:          * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getTarget()
293:          * @generated
294:          */
295:         int TARGET = 5;
296:
297:         /**
298:          * The feature id for the '<em><b>Name</b></em>' attribute.
299:          * <!-- begin-user-doc -->
300:          * <!-- end-user-doc -->
301:          *
302:          * @generated
303:          * @ordered
304:          */
305:         int TARGET__NAME = 0;
306:
307:         /**
308:          * The number of structural features of the '<em>Target</em>' class.
309:          * <!-- begin-user-doc -->
310:          * <!-- end-user-doc -->
311:          *
312:          * @generated
313:          * @ordered
314:          */
315:         int TARGET_FEATURE_COUNT = 1;
316:
317:         /**
318:          * The number of operations of the '<em>Target</em>' class.
319:          * <!-- begin-user-doc -->
320:          * <!-- end-user-doc -->
321:          *
322:          * @generated
323:          * @ordered
324:          */
325:         int TARGET_OPERATION_COUNT = 0;
326:
327:         /**
328:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.Root <em>Root</em>}'.
329:          * <!-- begin-user-doc -->
330:          * <!-- end-user-doc -->
331:          *
332:          * @return the meta object for class '<em>Root</em>'.
333:          * @see org.eclipse.emf.ecp.view.index.test.example.Root
334:          * @generated
335:          */
336:         EClass getRoot();
337:
338:         /**
339:          * Returns the meta object for the containment reference '
340:          * {@link org.eclipse.emf.ecp.view.index.test.example.Root#getIntermediate <em>Intermediate</em>}'.
341:          * <!-- begin-user-doc -->
342:          * <!-- end-user-doc -->
343:          *
344:          * @return the meta object for the containment reference '<em>Intermediate</em>'.
345:          * @see org.eclipse.emf.ecp.view.index.test.example.Root#getIntermediate()
346:          * @see #getRoot()
347:          * @generated
348:          */
349:         EReference getRoot_Intermediate();
350:
351:         /**
352:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.Intermediate
353:          * <em>Intermediate</em>}'.
354:          * <!-- begin-user-doc -->
355:          * <!-- end-user-doc -->
356:          *
357:          * @return the meta object for class '<em>Intermediate</em>'.
358:          * @see org.eclipse.emf.ecp.view.index.test.example.Intermediate
359:          * @generated
360:          */
361:         EClass getIntermediate();
362:
363:         /**
364:          * Returns the meta object for the containment reference '
365:          * {@link org.eclipse.emf.ecp.view.index.test.example.Intermediate#getContainer <em>Container</em>}'.
366:          * <!-- begin-user-doc -->
367:          * <!-- end-user-doc -->
368:          *
369:          * @return the meta object for the containment reference '<em>Container</em>'.
370:          * @see org.eclipse.emf.ecp.view.index.test.example.Intermediate#getContainer()
371:          * @see #getIntermediate()
372:          * @generated
373:          */
374:         EReference getIntermediate_Container();
375:
376:         /**
377:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.Container
378:          * <em>Container</em>}'.
379:          * <!-- begin-user-doc -->
380:          * <!-- end-user-doc -->
381:          *
382:          * @return the meta object for class '<em>Container</em>'.
383:          * @see org.eclipse.emf.ecp.view.index.test.example.Container
384:          * @generated
385:          */
386:         EClass getContainer();
387:
388:         /**
389:          * Returns the meta object for the containment reference list '
390:          * {@link org.eclipse.emf.ecp.view.index.test.example.Container#getChildren <em>Children</em>}'.
391:          * <!-- begin-user-doc -->
392:          * <!-- end-user-doc -->
393:          *
394:          * @return the meta object for the containment reference list '<em>Children</em>'.
395:          * @see org.eclipse.emf.ecp.view.index.test.example.Container#getChildren()
396:          * @see #getContainer()
397:          * @generated
398:          */
399:         EReference getContainer_Children();
400:
401:         /**
402:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.Child <em>Child</em>}'.
403:          * <!-- begin-user-doc -->
404:          * <!-- end-user-doc -->
405:          *
406:          * @return the meta object for class '<em>Child</em>'.
407:          * @see org.eclipse.emf.ecp.view.index.test.example.Child
408:          * @generated
409:          */
410:         EClass getChild();
411:
412:         /**
413:          * Returns the meta object for the containment reference '
414:          * {@link org.eclipse.emf.ecp.view.index.test.example.Child#getIntermediateTarget <em>Intermediate Target</em>}'.
415:          * <!-- begin-user-doc -->
416:          * <!-- end-user-doc -->
417:          *
418:          * @return the meta object for the containment reference '<em>Intermediate Target</em>'.
419:          * @see org.eclipse.emf.ecp.view.index.test.example.Child#getIntermediateTarget()
420:          * @see #getChild()
421:          * @generated
422:          */
423:         EReference getChild_IntermediateTarget();
424:
425:         /**
426:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.IntermediateTarget
427:          * <em>Intermediate Target</em>}'.
428:          * <!-- begin-user-doc -->
429:          * <!-- end-user-doc -->
430:          *
431:          * @return the meta object for class '<em>Intermediate Target</em>'.
432:          * @see org.eclipse.emf.ecp.view.index.test.example.IntermediateTarget
433:          * @generated
434:          */
435:         EClass getIntermediateTarget();
436:
437:         /**
438:          * Returns the meta object for the containment reference '
439:          * {@link org.eclipse.emf.ecp.view.index.test.example.IntermediateTarget#getTarget <em>Target</em>}'.
440:          * <!-- begin-user-doc -->
441:          * <!-- end-user-doc -->
442:          *
443:          * @return the meta object for the containment reference '<em>Target</em>'.
444:          * @see org.eclipse.emf.ecp.view.index.test.example.IntermediateTarget#getTarget()
445:          * @see #getIntermediateTarget()
446:          * @generated
447:          */
448:         EReference getIntermediateTarget_Target();
449:
450:         /**
451:          * Returns the meta object for class '{@link org.eclipse.emf.ecp.view.index.test.example.Target <em>Target</em>}'.
452:          * <!-- begin-user-doc -->
453:          * <!-- end-user-doc -->
454:          *
455:          * @return the meta object for class '<em>Target</em>'.
456:          * @see org.eclipse.emf.ecp.view.index.test.example.Target
457:          * @generated
458:          */
459:         EClass getTarget();
460:
461:         /**
462:          * Returns the meta object for the attribute '{@link org.eclipse.emf.ecp.view.index.test.example.Target#getName
463:          * <em>Name</em>}'.
464:          * <!-- begin-user-doc -->
465:          * <!-- end-user-doc -->
466:          *
467:          * @return the meta object for the attribute '<em>Name</em>'.
468:          * @see org.eclipse.emf.ecp.view.index.test.example.Target#getName()
469:          * @see #getTarget()
470:          * @generated
471:          */
472:         EAttribute getTarget_Name();
473:
474:         /**
475:          * Returns the factory that creates the instances of the model.
476:          * <!-- begin-user-doc -->
477:          * <!-- end-user-doc -->
478:          *
479:          * @return the factory that creates the instances of the model.
480:          * @generated
481:          */
482:         ExampleFactory getExampleFactory();
483:
484:         /**
485:          * <!-- begin-user-doc -->
486:          * Defines literals for the meta objects that represent
487:          * <ul>
488:          * <li>each class,</li>
489:          * <li>each feature of each class,</li>
490:          * <li>each operation of each class,</li>
491:          * <li>each enum,</li>
492:          * <li>and each data type</li>
493:          * </ul>
494:          * <!-- end-user-doc -->
495:          *
496:          * @generated
497:          */
498:         interface Literals {
499:                 /**
500:                  * The meta object literal for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.RootImpl
501:                  * <em>Root</em>}' class.
502:                  * <!-- begin-user-doc -->
503:                  * <!-- end-user-doc -->
504:                  *
505:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.RootImpl
506:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getRoot()
507:                  * @generated
508:                  */
509:                 EClass ROOT = eINSTANCE.getRoot();
510:
511:                 /**
512:                  * The meta object literal for the '<em><b>Intermediate</b></em>' containment reference feature.
513:                  * <!-- begin-user-doc -->
514:                  * <!-- end-user-doc -->
515:                  *
516:                  * @generated
517:                  */
518:                 EReference ROOT__INTERMEDIATE = eINSTANCE.getRoot_Intermediate();
519:
520:                 /**
521:                  * The meta object literal for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateImpl
522:                  * <em>Intermediate</em>}' class.
523:                  * <!-- begin-user-doc -->
524:                  * <!-- end-user-doc -->
525:                  *
526:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateImpl
527:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getIntermediate()
528:                  * @generated
529:                  */
530:                 EClass INTERMEDIATE = eINSTANCE.getIntermediate();
531:
532:                 /**
533:                  * The meta object literal for the '<em><b>Container</b></em>' containment reference feature.
534:                  * <!-- begin-user-doc -->
535:                  * <!-- end-user-doc -->
536:                  *
537:                  * @generated
538:                  */
539:                 EReference INTERMEDIATE__CONTAINER = eINSTANCE.getIntermediate_Container();
540:
541:                 /**
542:                  * The meta object literal for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.ContainerImpl
543:                  * <em>Container</em>}' class.
544:                  * <!-- begin-user-doc -->
545:                  * <!-- end-user-doc -->
546:                  *
547:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ContainerImpl
548:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getContainer()
549:                  * @generated
550:                  */
551:                 EClass CONTAINER = eINSTANCE.getContainer();
552:
553:                 /**
554:                  * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.
555:                  * <!-- begin-user-doc -->
556:                  * <!-- end-user-doc -->
557:                  *
558:                  * @generated
559:                  */
560:                 EReference CONTAINER__CHILDREN = eINSTANCE.getContainer_Children();
561:
562:                 /**
563:                  * The meta object literal for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.ChildImpl
564:                  * <em>Child</em>}' class.
565:                  * <!-- begin-user-doc -->
566:                  * <!-- end-user-doc -->
567:                  *
568:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ChildImpl
569:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getChild()
570:                  * @generated
571:                  */
572:                 EClass CHILD = eINSTANCE.getChild();
573:
574:                 /**
575:                  * The meta object literal for the '<em><b>Intermediate Target</b></em>' containment reference feature.
576:                  * <!-- begin-user-doc -->
577:                  * <!-- end-user-doc -->
578:                  *
579:                  * @generated
580:                  */
581:                 EReference CHILD__INTERMEDIATE_TARGET = eINSTANCE.getChild_IntermediateTarget();
582:
583:                 /**
584:                  * The meta object literal for the '
585:                  * {@link org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateTargetImpl <em>Intermediate Target</em>}'
586:                  * class.
587:                  * <!-- begin-user-doc -->
588:                  * <!-- end-user-doc -->
589:                  *
590:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.IntermediateTargetImpl
591:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getIntermediateTarget()
592:                  * @generated
593:                  */
594:                 EClass INTERMEDIATE_TARGET = eINSTANCE.getIntermediateTarget();
595:
596:                 /**
597:                  * The meta object literal for the '<em><b>Target</b></em>' containment reference feature.
598:                  * <!-- begin-user-doc -->
599:                  * <!-- end-user-doc -->
600:                  *
601:                  * @generated
602:                  */
603:                 EReference INTERMEDIATE_TARGET__TARGET = eINSTANCE.getIntermediateTarget_Target();
604:
605:                 /**
606:                  * The meta object literal for the '{@link org.eclipse.emf.ecp.view.index.test.example.impl.TargetImpl
607:                  * <em>Target</em>}' class.
608:                  * <!-- begin-user-doc -->
609:                  * <!-- end-user-doc -->
610:                  *
611:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.TargetImpl
612:                  * @see org.eclipse.emf.ecp.view.index.test.example.impl.ExamplePackageImpl#getTarget()
613:                  * @generated
614:                  */
615:                 EClass TARGET = eINSTANCE.getTarget();
616:
617:                 /**
618:                  * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
619:                  * <!-- begin-user-doc -->
620:                  * <!-- end-user-doc -->
621:                  *
622:                  * @generated
623:                  */
624:                 EAttribute TARGET__NAME = eINSTANCE.getTarget_Name();
625:
626:         }
627:
628: } // ExamplePackage