Skip to content

Package: UniversityPackageImpl

UniversityPackageImpl

nameinstructionbranchcomplexitylinemethod
UniversityPackageImpl()
M: 0 C: 32
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 11
100%
M: 0 C: 1
100%
createEcoreAnnotations()
M: 0 C: 18
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 6
100%
M: 0 C: 1
100%
createExtendedMetaDataAnnotations()
M: 0 C: 48
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 14
100%
M: 0 C: 1
100%
createPackageContents()
M: 1 C: 87
99%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 1 C: 19
95%
M: 0 C: 1
100%
getAddress()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getAssistant()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourse()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourseCatalog()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourseCatalog_Courses()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourse_Etcs()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourse_Id()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getCourse_Name()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPerson()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPerson_Addresses()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPerson_Name()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getProfessor()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getStaff()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getStaff_Assistants()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getStaff_Professors()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getStaff_Staff()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getUniversityFactory()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
init()
M: 9 C: 34
79%
M: 2 C: 2
50%
M: 2 C: 1
33%
M: 1 C: 12
92%
M: 0 C: 1
100%
initializePackageContents()
M: 1 C: 301
100%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 1 C: 43
98%
M: 0 C: 1
100%
static {...}
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
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: * EclipseSource - Generated code
13: */
14: package org.eclipse.emf.ecp.test.university.impl;
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: import org.eclipse.emf.ecore.EValidator;
21: import org.eclipse.emf.ecore.impl.EPackageImpl;
22: import org.eclipse.emf.ecp.test.university.Address;
23: import org.eclipse.emf.ecp.test.university.Assistant;
24: import org.eclipse.emf.ecp.test.university.Course;
25: import org.eclipse.emf.ecp.test.university.CourseCatalog;
26: import org.eclipse.emf.ecp.test.university.Person;
27: import org.eclipse.emf.ecp.test.university.Professor;
28: import org.eclipse.emf.ecp.test.university.Staff;
29: import org.eclipse.emf.ecp.test.university.UniversityFactory;
30: import org.eclipse.emf.ecp.test.university.UniversityPackage;
31: import org.eclipse.emf.ecp.test.university.util.UniversityValidator;
32:
33: /**
34: * <!-- begin-user-doc -->
35: * An implementation of the model <b>Package</b>.
36: * <!-- end-user-doc -->
37: *
38: * @generated
39: */
40: public class UniversityPackageImpl extends EPackageImpl implements UniversityPackage {
41:         /**
42:          * <!-- begin-user-doc -->
43:          * <!-- end-user-doc -->
44:          *
45:          * @generated
46:          */
47:         private EClass courseCatalogEClass = null;
48:
49:         /**
50:          * <!-- begin-user-doc -->
51:          * <!-- end-user-doc -->
52:          *
53:          * @generated
54:          */
55:         private EClass courseEClass = null;
56:
57:         /**
58:          * <!-- begin-user-doc -->
59:          * <!-- end-user-doc -->
60:          *
61:          * @generated
62:          */
63:         private EClass staffEClass = null;
64:
65:         /**
66:          * <!-- begin-user-doc -->
67:          * <!-- end-user-doc -->
68:          *
69:          * @generated
70:          */
71:         private EClass professorEClass = null;
72:
73:         /**
74:          * <!-- begin-user-doc -->
75:          * <!-- end-user-doc -->
76:          *
77:          * @generated
78:          */
79:         private EClass assistantEClass = null;
80:
81:         /**
82:          * <!-- begin-user-doc -->
83:          * <!-- end-user-doc -->
84:          *
85:          * @generated
86:          */
87:         private EClass personEClass = null;
88:
89:         /**
90:          * <!-- begin-user-doc -->
91:          * <!-- end-user-doc -->
92:          *
93:          * @generated
94:          */
95:         private EClass addressEClass = null;
96:
97:         /**
98:          * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
99:          * EPackage.Registry} by the package
100:          * package URI value.
101:          * <p>
102:          * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
103:          * performs initialization of the package, or returns the registered package, if one already exists. <!--
104:          * begin-user-doc --> <!-- end-user-doc -->
105:          *
106:          * @see org.eclipse.emf.ecore.EPackage.Registry
107:          * @see org.eclipse.emf.ecp.test.university.UniversityPackage#eNS_URI
108:          * @see #init()
109:          * @generated
110:          */
111:         private UniversityPackageImpl() {
112:                 super(eNS_URI, UniversityFactory.eINSTANCE);
113:         }
114:
115:         /**
116:          * <!-- begin-user-doc -->
117:          * <!-- end-user-doc -->
118:          *
119:          * @generated
120:          */
121:         private static boolean isInited = false;
122:
123:         /**
124:          * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
125:          *
126:          * <p>
127:          * This method is used to initialize {@link UniversityPackage#eINSTANCE} when that field is accessed.
128:          * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
129:          * <!-- begin-user-doc
130:          * --> <!-- end-user-doc -->
131:          *
132:          * @see #eNS_URI
133:          * @see #createPackageContents()
134:          * @see #initializePackageContents()
135:          * @generated
136:          */
137:         public static UniversityPackage init() {
138:•                if (isInited) {
139:                         return (UniversityPackage) EPackage.Registry.INSTANCE.getEPackage(UniversityPackage.eNS_URI);
140:                 }
141:
142:                 // Obtain or create and register package
143:                 final UniversityPackageImpl theUniversityPackage = (UniversityPackageImpl) (EPackage.Registry.INSTANCE
144:•                        .get(eNS_URI) instanceof UniversityPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
145:                                 : new UniversityPackageImpl());
146:
147:                 isInited = true;
148:
149:                 // Create package meta-data objects
150:                 theUniversityPackage.createPackageContents();
151:
152:                 // Initialize created meta-data
153:                 theUniversityPackage.initializePackageContents();
154:
155:                 // Register package validator
156:                 EValidator.Registry.INSTANCE.put(theUniversityPackage,
157:                         new EValidator.Descriptor() {
158:                                 @Override
159:                                 public EValidator getEValidator() {
160:                                         return UniversityValidator.INSTANCE;
161:                                 }
162:                         });
163:
164:                 // Mark meta-data to indicate it can't be changed
165:                 theUniversityPackage.freeze();
166:
167:                 // Update the registry and return the package
168:                 EPackage.Registry.INSTANCE.put(UniversityPackage.eNS_URI, theUniversityPackage);
169:                 return theUniversityPackage;
170:         }
171:
172:         /**
173:          * <!-- begin-user-doc -->
174:          * <!-- end-user-doc -->
175:          *
176:          * @generated
177:          */
178:         @Override
179:         public EClass getCourseCatalog() {
180:                 return courseCatalogEClass;
181:         }
182:
183:         /**
184:          * <!-- begin-user-doc -->
185:          * <!-- end-user-doc -->
186:          *
187:          * @generated
188:          */
189:         @Override
190:         public EReference getCourseCatalog_Courses() {
191:                 return (EReference) courseCatalogEClass.getEStructuralFeatures().get(0);
192:         }
193:
194:         /**
195:          * <!-- begin-user-doc -->
196:          * <!-- end-user-doc -->
197:          *
198:          * @generated
199:          */
200:         @Override
201:         public EClass getCourse() {
202:                 return courseEClass;
203:         }
204:
205:         /**
206:          * <!-- begin-user-doc -->
207:          * <!-- end-user-doc -->
208:          *
209:          * @generated
210:          */
211:         @Override
212:         public EAttribute getCourse_Id() {
213:                 return (EAttribute) courseEClass.getEStructuralFeatures().get(0);
214:         }
215:
216:         /**
217:          * <!-- begin-user-doc -->
218:          * <!-- end-user-doc -->
219:          *
220:          * @generated
221:          */
222:         @Override
223:         public EAttribute getCourse_Name() {
224:                 return (EAttribute) courseEClass.getEStructuralFeatures().get(1);
225:         }
226:
227:         /**
228:          * <!-- begin-user-doc -->
229:          * <!-- end-user-doc -->
230:          *
231:          * @generated
232:          */
233:         @Override
234:         public EAttribute getCourse_Etcs() {
235:                 return (EAttribute) courseEClass.getEStructuralFeatures().get(2);
236:         }
237:
238:         /**
239:          * <!-- begin-user-doc -->
240:          * <!-- end-user-doc -->
241:          *
242:          * @generated
243:          */
244:         @Override
245:         public EClass getStaff() {
246:                 return staffEClass;
247:         }
248:
249:         /**
250:          * <!-- begin-user-doc -->
251:          * <!-- end-user-doc -->
252:          *
253:          * @generated
254:          */
255:         @Override
256:         public EReference getStaff_Professors() {
257:                 return (EReference) staffEClass.getEStructuralFeatures().get(0);
258:         }
259:
260:         /**
261:          * <!-- begin-user-doc -->
262:          * <!-- end-user-doc -->
263:          *
264:          * @generated
265:          */
266:         @Override
267:         public EReference getStaff_Assistants() {
268:                 return (EReference) staffEClass.getEStructuralFeatures().get(1);
269:         }
270:
271:         /**
272:          * <!-- begin-user-doc -->
273:          * <!-- end-user-doc -->
274:          *
275:          * @generated
276:          */
277:         @Override
278:         public EAttribute getStaff_Staff() {
279:                 return (EAttribute) staffEClass.getEStructuralFeatures().get(2);
280:         }
281:
282:         /**
283:          * <!-- begin-user-doc -->
284:          * <!-- end-user-doc -->
285:          *
286:          * @generated
287:          */
288:         @Override
289:         public EClass getProfessor() {
290:                 return professorEClass;
291:         }
292:
293:         /**
294:          * <!-- begin-user-doc -->
295:          * <!-- end-user-doc -->
296:          *
297:          * @generated
298:          */
299:         @Override
300:         public EClass getAssistant() {
301:                 return assistantEClass;
302:         }
303:
304:         /**
305:          * <!-- begin-user-doc -->
306:          * <!-- end-user-doc -->
307:          *
308:          * @generated
309:          */
310:         @Override
311:         public EClass getPerson() {
312:                 return personEClass;
313:         }
314:
315:         /**
316:          * <!-- begin-user-doc -->
317:          * <!-- end-user-doc -->
318:          *
319:          * @generated
320:          */
321:         @Override
322:         public EAttribute getPerson_Name() {
323:                 return (EAttribute) personEClass.getEStructuralFeatures().get(0);
324:         }
325:
326:         /**
327:          * <!-- begin-user-doc -->
328:          * <!-- end-user-doc -->
329:          *
330:          * @generated
331:          */
332:         @Override
333:         public EReference getPerson_Addresses() {
334:                 return (EReference) personEClass.getEStructuralFeatures().get(1);
335:         }
336:
337:         /**
338:          * <!-- begin-user-doc -->
339:          * <!-- end-user-doc -->
340:          *
341:          * @generated
342:          */
343:         @Override
344:         public EClass getAddress() {
345:                 return addressEClass;
346:         }
347:
348:         /**
349:          * <!-- begin-user-doc -->
350:          * <!-- end-user-doc -->
351:          *
352:          * @generated
353:          */
354:         @Override
355:         public UniversityFactory getUniversityFactory() {
356:                 return (UniversityFactory) getEFactoryInstance();
357:         }
358:
359:         /**
360:          * <!-- begin-user-doc -->
361:          * <!-- end-user-doc -->
362:          *
363:          * @generated
364:          */
365:         private boolean isCreated = false;
366:
367:         /**
368:          * Creates the meta-model objects for the package. This method is
369:          * guarded to have no affect on any invocation but its first.
370:          * <!-- begin-user-doc -->
371:          * <!-- end-user-doc -->
372:          *
373:          * @generated
374:          */
375:         public void createPackageContents() {
376:•                if (isCreated) {
377:                         return;
378:                 }
379:                 isCreated = true;
380:
381:                 // Create classes and their features
382:                 courseCatalogEClass = createEClass(COURSE_CATALOG);
383:                 createEReference(courseCatalogEClass, COURSE_CATALOG__COURSES);
384:
385:                 courseEClass = createEClass(COURSE);
386:                 createEAttribute(courseEClass, COURSE__ID);
387:                 createEAttribute(courseEClass, COURSE__NAME);
388:                 createEAttribute(courseEClass, COURSE__ETCS);
389:
390:                 staffEClass = createEClass(STAFF);
391:                 createEReference(staffEClass, STAFF__PROFESSORS);
392:                 createEReference(staffEClass, STAFF__ASSISTANTS);
393:                 createEAttribute(staffEClass, STAFF__STAFF);
394:
395:                 professorEClass = createEClass(PROFESSOR);
396:
397:                 assistantEClass = createEClass(ASSISTANT);
398:
399:                 personEClass = createEClass(PERSON);
400:                 createEAttribute(personEClass, PERSON__NAME);
401:                 createEReference(personEClass, PERSON__ADDRESSES);
402:
403:                 addressEClass = createEClass(ADDRESS);
404:         }
405:
406:         /**
407:          * <!-- begin-user-doc -->
408:          * <!-- end-user-doc -->
409:          *
410:          * @generated
411:          */
412:         private boolean isInitialized = false;
413:
414:         /**
415:          * Complete the initialization of the package and its meta-model. This
416:          * method is guarded to have no affect on any invocation but its first.
417:          * <!-- begin-user-doc -->
418:          * <!-- end-user-doc -->
419:          *
420:          * @generated
421:          */
422:         public void initializePackageContents() {
423:•                if (isInitialized) {
424:                         return;
425:                 }
426:                 isInitialized = true;
427:
428:                 // Initialize package
429:                 setName(eNAME);
430:                 setNsPrefix(eNS_PREFIX);
431:                 setNsURI(eNS_URI);
432:
433:                 // Create type parameters
434:
435:                 // Set bounds for type parameters
436:
437:                 // Add supertypes to classes
438:                 professorEClass.getESuperTypes().add(getPerson());
439:                 assistantEClass.getESuperTypes().add(getPerson());
440:
441:                 // Initialize classes, features, and operations; add parameters
442:                 initEClass(courseCatalogEClass, CourseCatalog.class, "CourseCatalog", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
443:                         IS_GENERATED_INSTANCE_CLASS);
444:                 initEReference(getCourseCatalog_Courses(), getCourse(), null, "courses", null, 0, -1, CourseCatalog.class, //$NON-NLS-1$
445:                         !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
446:                         !IS_DERIVED, IS_ORDERED);
447:
448:                 initEClass(courseEClass, Course.class, "Course", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
449:                 initEAttribute(getCourse_Id(), ecorePackage.getEString(), "id", null, 1, 1, Course.class, !IS_TRANSIENT, //$NON-NLS-1$
450:                         !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
451:                 initEAttribute(getCourse_Name(), ecorePackage.getEString(), "name", null, 1, 1, Course.class, !IS_TRANSIENT, //$NON-NLS-1$
452:                         !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
453:                 initEAttribute(getCourse_Etcs(), ecorePackage.getEInt(), "etcs", null, 1, 1, Course.class, !IS_TRANSIENT, //$NON-NLS-1$
454:                         !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
455:
456:                 initEClass(staffEClass, Staff.class, "Staff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
457:                 initEReference(getStaff_Professors(), getProfessor(), null, "professors", null, 0, -1, Staff.class, //$NON-NLS-1$
458:                         IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
459:                         IS_DERIVED, IS_ORDERED);
460:                 initEReference(getStaff_Assistants(), getAssistant(), null, "assistants", null, 0, -1, Staff.class, //$NON-NLS-1$
461:                         IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
462:                         IS_DERIVED, IS_ORDERED);
463:                 initEAttribute(getStaff_Staff(), ecorePackage.getEFeatureMapEntry(), "staff", null, 0, -1, Staff.class, //$NON-NLS-1$
464:                         !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
465:
466:                 initEClass(professorEClass, Professor.class, "Professor", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
467:                         IS_GENERATED_INSTANCE_CLASS);
468:
469:                 initEClass(assistantEClass, Assistant.class, "Assistant", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
470:                         IS_GENERATED_INSTANCE_CLASS);
471:
472:                 initEClass(personEClass, Person.class, "Person", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
473:                 initEAttribute(getPerson_Name(), ecorePackage.getEString(), "name", null, 0, 1, Person.class, !IS_TRANSIENT, //$NON-NLS-1$
474:                         !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
475:                 initEReference(getPerson_Addresses(), getAddress(), null, "addresses", null, 0, -1, Person.class, //$NON-NLS-1$
476:                         !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
477:                         !IS_DERIVED, IS_ORDERED);
478:
479:                 initEClass(addressEClass, Address.class, "Address", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
480:
481:                 // Create resource
482:                 createResource(eNS_URI);
483:
484:                 // Create annotations
485:                 // http://www.eclipse.org/emf/2002/Ecore
486:                 createEcoreAnnotations();
487:                 // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
488:                 createExtendedMetaDataAnnotations();
489:         }
490:
491:         /**
492:          * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>.
493:          * <!-- begin-user-doc -->
494:          * <!-- end-user-doc -->
495:          *
496:          * @generated
497:          */
498:         protected void createEcoreAnnotations() {
499:                 final String source = "http://www.eclipse.org/emf/2002/Ecore"; //$NON-NLS-1$
500:                 addAnnotation(courseEClass,
501:                         source,
502:                         new String[] {
503:                                 "constraints", "UniqueItemById NameNotEmpty" //$NON-NLS-1$ //$NON-NLS-2$
504:                         });
505:         }
506:
507:         /**
508:          * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
509:          * <!-- begin-user-doc -->
510:          * <!-- end-user-doc -->
511:          *
512:          * @generated
513:          */
514:         protected void createExtendedMetaDataAnnotations() {
515:                 final String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$
516:                 addAnnotation(getStaff_Professors(),
517:                         source,
518:                         new String[] {
519:                                 "group", "#staff" //$NON-NLS-1$ //$NON-NLS-2$
520:                         });
521:                 addAnnotation(getStaff_Assistants(),
522:                         source,
523:                         new String[] {
524:                                 "group", "#staff" //$NON-NLS-1$ //$NON-NLS-2$
525:                         });
526:                 addAnnotation(getStaff_Staff(),
527:                         source,
528:                         new String[] {
529:                                 "kind", "group" //$NON-NLS-1$ //$NON-NLS-2$
530:                         });
531:         }
532:
533: } // UniversityPackageImpl