aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-controller-core/dcae-controller-core-model/src/main/xcore-gen/org/openecomp/dcae/controller/inventory/impl/DCAEServiceTypeImpl.java
blob: 5c24d54cd1cfab774a55bbc6495e1f9950fd12ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
/**
 */
package org.openecomp.dcae.controller.inventory.impl;

import java.util.Collection;
import java.util.Date;

import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;

import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EDataTypeEList;

import org.openecomp.dcae.controller.inventory.DCAEServiceType;
import org.openecomp.dcae.controller.inventory.InventoryPackage;
import org.openecomp.dcae.controller.inventory.Link;
import org.openecomp.ncomp.core.impl.NamedEntityImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>DCAE Service Type</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * </p>
 * <ul>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getOwner <em>Owner</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getTypeName <em>Type Name</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getTypeVersion <em>Type Version</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getBlueprintTemplate <em>Blueprint Template</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getServiceIds <em>Service Ids</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getVnfTypes <em>Vnf Types</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getServiceLocations <em>Service Locations</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getAsdcServiceId <em>Asdc Service Id</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getAsdcResourceId <em>Asdc Resource Id</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getAsdcServiceURL <em>Asdc Service URL</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getTypeId <em>Type Id</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getSelfLink <em>Self Link</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getCreated1 <em>Created1</em>}</li>
 *   <li>{@link org.openecomp.dcae.controller.inventory.impl.DCAEServiceTypeImpl#getDeactivated <em>Deactivated</em>}</li>
 * </ul>
 *
 * @generated
 */
public class DCAEServiceTypeImpl extends NamedEntityImpl implements DCAEServiceType {
	/**
	 * The default value of the '{@link #getOwner() <em>Owner</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getOwner()
	 * @generated
	 * @ordered
	 */
	protected static final String OWNER_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getOwner() <em>Owner</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getOwner()
	 * @generated
	 * @ordered
	 */
	protected String owner = OWNER_EDEFAULT;

	/**
	 * The default value of the '{@link #getTypeName() <em>Type Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeName()
	 * @generated
	 * @ordered
	 */
	protected static final String TYPE_NAME_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeName()
	 * @generated
	 * @ordered
	 */
	protected String typeName = TYPE_NAME_EDEFAULT;

	/**
	 * The default value of the '{@link #getTypeVersion() <em>Type Version</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeVersion()
	 * @generated
	 * @ordered
	 */
	protected static final Integer TYPE_VERSION_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getTypeVersion() <em>Type Version</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeVersion()
	 * @generated
	 * @ordered
	 */
	protected Integer typeVersion = TYPE_VERSION_EDEFAULT;

	/**
	 * The default value of the '{@link #getBlueprintTemplate() <em>Blueprint Template</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getBlueprintTemplate()
	 * @generated
	 * @ordered
	 */
	protected static final String BLUEPRINT_TEMPLATE_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getBlueprintTemplate() <em>Blueprint Template</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getBlueprintTemplate()
	 * @generated
	 * @ordered
	 */
	protected String blueprintTemplate = BLUEPRINT_TEMPLATE_EDEFAULT;

	/**
	 * The cached value of the '{@link #getServiceIds() <em>Service Ids</em>}' attribute list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getServiceIds()
	 * @generated
	 * @ordered
	 */
	protected EList<String> serviceIds;

	/**
	 * The cached value of the '{@link #getVnfTypes() <em>Vnf Types</em>}' attribute list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getVnfTypes()
	 * @generated
	 * @ordered
	 */
	protected EList<String> vnfTypes;

	/**
	 * The cached value of the '{@link #getServiceLocations() <em>Service Locations</em>}' attribute list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getServiceLocations()
	 * @generated
	 * @ordered
	 */
	protected EList<String> serviceLocations;

	/**
	 * The default value of the '{@link #getAsdcServiceId() <em>Asdc Service Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcServiceId()
	 * @generated
	 * @ordered
	 */
	protected static final String ASDC_SERVICE_ID_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getAsdcServiceId() <em>Asdc Service Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcServiceId()
	 * @generated
	 * @ordered
	 */
	protected String asdcServiceId = ASDC_SERVICE_ID_EDEFAULT;

	/**
	 * The default value of the '{@link #getAsdcResourceId() <em>Asdc Resource Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcResourceId()
	 * @generated
	 * @ordered
	 */
	protected static final String ASDC_RESOURCE_ID_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getAsdcResourceId() <em>Asdc Resource Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcResourceId()
	 * @generated
	 * @ordered
	 */
	protected String asdcResourceId = ASDC_RESOURCE_ID_EDEFAULT;

	/**
	 * The default value of the '{@link #getAsdcServiceURL() <em>Asdc Service URL</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcServiceURL()
	 * @generated
	 * @ordered
	 */
	protected static final String ASDC_SERVICE_URL_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getAsdcServiceURL() <em>Asdc Service URL</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getAsdcServiceURL()
	 * @generated
	 * @ordered
	 */
	protected String asdcServiceURL = ASDC_SERVICE_URL_EDEFAULT;

	/**
	 * The default value of the '{@link #getTypeId() <em>Type Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeId()
	 * @generated
	 * @ordered
	 */
	protected static final String TYPE_ID_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getTypeId() <em>Type Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeId()
	 * @generated
	 * @ordered
	 */
	protected String typeId = TYPE_ID_EDEFAULT;

	/**
	 * The cached value of the '{@link #getSelfLink() <em>Self Link</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getSelfLink()
	 * @generated
	 * @ordered
	 */
	protected Link selfLink;

	/**
	 * The default value of the '{@link #getCreated1() <em>Created1</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getCreated1()
	 * @generated
	 * @ordered
	 */
	protected static final Date CREATED1_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getCreated1() <em>Created1</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getCreated1()
	 * @generated
	 * @ordered
	 */
	protected Date created1 = CREATED1_EDEFAULT;

	/**
	 * The default value of the '{@link #getDeactivated() <em>Deactivated</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getDeactivated()
	 * @generated
	 * @ordered
	 */
	protected static final Date DEACTIVATED_EDEFAULT = null;

	/**
	 * The cached value of the '{@link #getDeactivated() <em>Deactivated</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getDeactivated()
	 * @generated
	 * @ordered
	 */
	protected Date deactivated = DEACTIVATED_EDEFAULT;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DCAEServiceTypeImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return InventoryPackage.Literals.DCAE_SERVICE_TYPE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getOwner() {
		return owner;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setOwner(String newOwner) {
		String oldOwner = owner;
		owner = newOwner;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__OWNER, oldOwner, owner));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getTypeName() {
		return typeName;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTypeName(String newTypeName) {
		String oldTypeName = typeName;
		typeName = newTypeName;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__TYPE_NAME, oldTypeName, typeName));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Integer getTypeVersion() {
		return typeVersion;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTypeVersion(Integer newTypeVersion) {
		Integer oldTypeVersion = typeVersion;
		typeVersion = newTypeVersion;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__TYPE_VERSION, oldTypeVersion, typeVersion));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getBlueprintTemplate() {
		return blueprintTemplate;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setBlueprintTemplate(String newBlueprintTemplate) {
		String oldBlueprintTemplate = blueprintTemplate;
		blueprintTemplate = newBlueprintTemplate;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__BLUEPRINT_TEMPLATE, oldBlueprintTemplate, blueprintTemplate));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<String> getServiceIds() {
		if (serviceIds == null) {
			serviceIds = new EDataTypeEList<String>(String.class, this, InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_IDS);
		}
		return serviceIds;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<String> getVnfTypes() {
		if (vnfTypes == null) {
			vnfTypes = new EDataTypeEList<String>(String.class, this, InventoryPackage.DCAE_SERVICE_TYPE__VNF_TYPES);
		}
		return vnfTypes;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<String> getServiceLocations() {
		if (serviceLocations == null) {
			serviceLocations = new EDataTypeEList<String>(String.class, this, InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_LOCATIONS);
		}
		return serviceLocations;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getAsdcServiceId() {
		return asdcServiceId;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setAsdcServiceId(String newAsdcServiceId) {
		String oldAsdcServiceId = asdcServiceId;
		asdcServiceId = newAsdcServiceId;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_ID, oldAsdcServiceId, asdcServiceId));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getAsdcResourceId() {
		return asdcResourceId;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setAsdcResourceId(String newAsdcResourceId) {
		String oldAsdcResourceId = asdcResourceId;
		asdcResourceId = newAsdcResourceId;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__ASDC_RESOURCE_ID, oldAsdcResourceId, asdcResourceId));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getAsdcServiceURL() {
		return asdcServiceURL;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setAsdcServiceURL(String newAsdcServiceURL) {
		String oldAsdcServiceURL = asdcServiceURL;
		asdcServiceURL = newAsdcServiceURL;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_URL, oldAsdcServiceURL, asdcServiceURL));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getTypeId() {
		return typeId;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTypeId(String newTypeId) {
		String oldTypeId = typeId;
		typeId = newTypeId;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__TYPE_ID, oldTypeId, typeId));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Link getSelfLink() {
		return selfLink;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NotificationChain basicSetSelfLink(Link newSelfLink, NotificationChain msgs) {
		Link oldSelfLink = selfLink;
		selfLink = newSelfLink;
		if (eNotificationRequired()) {
			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK, oldSelfLink, newSelfLink);
			if (msgs == null) msgs = notification; else msgs.add(notification);
		}
		return msgs;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setSelfLink(Link newSelfLink) {
		if (newSelfLink != selfLink) {
			NotificationChain msgs = null;
			if (selfLink != null)
				msgs = ((InternalEObject)selfLink).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK, null, msgs);
			if (newSelfLink != null)
				msgs = ((InternalEObject)newSelfLink).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK, null, msgs);
			msgs = basicSetSelfLink(newSelfLink, msgs);
			if (msgs != null) msgs.dispatch();
		}
		else if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK, newSelfLink, newSelfLink));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Date getCreated1() {
		return created1;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCreated1(Date newCreated1) {
		Date oldCreated1 = created1;
		created1 = newCreated1;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__CREATED1, oldCreated1, created1));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Date getDeactivated() {
		return deactivated;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setDeactivated(Date newDeactivated) {
		Date oldDeactivated = deactivated;
		deactivated = newDeactivated;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, InventoryPackage.DCAE_SERVICE_TYPE__DEACTIVATED, oldDeactivated, deactivated));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
		switch (featureID) {
			case InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK:
				return basicSetSelfLink(null, msgs);
		}
		return super.eInverseRemove(otherEnd, featureID, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
		switch (featureID) {
			case InventoryPackage.DCAE_SERVICE_TYPE__OWNER:
				return getOwner();
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_NAME:
				return getTypeName();
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_VERSION:
				return getTypeVersion();
			case InventoryPackage.DCAE_SERVICE_TYPE__BLUEPRINT_TEMPLATE:
				return getBlueprintTemplate();
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_IDS:
				return getServiceIds();
			case InventoryPackage.DCAE_SERVICE_TYPE__VNF_TYPES:
				return getVnfTypes();
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_LOCATIONS:
				return getServiceLocations();
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_ID:
				return getAsdcServiceId();
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_RESOURCE_ID:
				return getAsdcResourceId();
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_URL:
				return getAsdcServiceURL();
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_ID:
				return getTypeId();
			case InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK:
				return getSelfLink();
			case InventoryPackage.DCAE_SERVICE_TYPE__CREATED1:
				return getCreated1();
			case InventoryPackage.DCAE_SERVICE_TYPE__DEACTIVATED:
				return getDeactivated();
		}
		return super.eGet(featureID, resolve, coreType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	@Override
	public void eSet(int featureID, Object newValue) {
		switch (featureID) {
			case InventoryPackage.DCAE_SERVICE_TYPE__OWNER:
				setOwner((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_NAME:
				setTypeName((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_VERSION:
				setTypeVersion((Integer)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__BLUEPRINT_TEMPLATE:
				setBlueprintTemplate((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_IDS:
				getServiceIds().clear();
				getServiceIds().addAll((Collection<? extends String>)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__VNF_TYPES:
				getVnfTypes().clear();
				getVnfTypes().addAll((Collection<? extends String>)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_LOCATIONS:
				getServiceLocations().clear();
				getServiceLocations().addAll((Collection<? extends String>)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_ID:
				setAsdcServiceId((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_RESOURCE_ID:
				setAsdcResourceId((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_URL:
				setAsdcServiceURL((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_ID:
				setTypeId((String)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK:
				setSelfLink((Link)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__CREATED1:
				setCreated1((Date)newValue);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__DEACTIVATED:
				setDeactivated((Date)newValue);
				return;
		}
		super.eSet(featureID, newValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eUnset(int featureID) {
		switch (featureID) {
			case InventoryPackage.DCAE_SERVICE_TYPE__OWNER:
				setOwner(OWNER_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_NAME:
				setTypeName(TYPE_NAME_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_VERSION:
				setTypeVersion(TYPE_VERSION_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__BLUEPRINT_TEMPLATE:
				setBlueprintTemplate(BLUEPRINT_TEMPLATE_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_IDS:
				getServiceIds().clear();
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__VNF_TYPES:
				getVnfTypes().clear();
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_LOCATIONS:
				getServiceLocations().clear();
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_ID:
				setAsdcServiceId(ASDC_SERVICE_ID_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_RESOURCE_ID:
				setAsdcResourceId(ASDC_RESOURCE_ID_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_URL:
				setAsdcServiceURL(ASDC_SERVICE_URL_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_ID:
				setTypeId(TYPE_ID_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK:
				setSelfLink((Link)null);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__CREATED1:
				setCreated1(CREATED1_EDEFAULT);
				return;
			case InventoryPackage.DCAE_SERVICE_TYPE__DEACTIVATED:
				setDeactivated(DEACTIVATED_EDEFAULT);
				return;
		}
		super.eUnset(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean eIsSet(int featureID) {
		switch (featureID) {
			case InventoryPackage.DCAE_SERVICE_TYPE__OWNER:
				return OWNER_EDEFAULT == null ? owner != null : !OWNER_EDEFAULT.equals(owner);
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_NAME:
				return TYPE_NAME_EDEFAULT == null ? typeName != null : !TYPE_NAME_EDEFAULT.equals(typeName);
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_VERSION:
				return TYPE_VERSION_EDEFAULT == null ? typeVersion != null : !TYPE_VERSION_EDEFAULT.equals(typeVersion);
			case InventoryPackage.DCAE_SERVICE_TYPE__BLUEPRINT_TEMPLATE:
				return BLUEPRINT_TEMPLATE_EDEFAULT == null ? blueprintTemplate != null : !BLUEPRINT_TEMPLATE_EDEFAULT.equals(blueprintTemplate);
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_IDS:
				return serviceIds != null && !serviceIds.isEmpty();
			case InventoryPackage.DCAE_SERVICE_TYPE__VNF_TYPES:
				return vnfTypes != null && !vnfTypes.isEmpty();
			case InventoryPackage.DCAE_SERVICE_TYPE__SERVICE_LOCATIONS:
				return serviceLocations != null && !serviceLocations.isEmpty();
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_ID:
				return ASDC_SERVICE_ID_EDEFAULT == null ? asdcServiceId != null : !ASDC_SERVICE_ID_EDEFAULT.equals(asdcServiceId);
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_RESOURCE_ID:
				return ASDC_RESOURCE_ID_EDEFAULT == null ? asdcResourceId != null : !ASDC_RESOURCE_ID_EDEFAULT.equals(asdcResourceId);
			case InventoryPackage.DCAE_SERVICE_TYPE__ASDC_SERVICE_URL:
				return ASDC_SERVICE_URL_EDEFAULT == null ? asdcServiceURL != null : !ASDC_SERVICE_URL_EDEFAULT.equals(asdcServiceURL);
			case InventoryPackage.DCAE_SERVICE_TYPE__TYPE_ID:
				return TYPE_ID_EDEFAULT == null ? typeId != null : !TYPE_ID_EDEFAULT.equals(typeId);
			case InventoryPackage.DCAE_SERVICE_TYPE__SELF_LINK:
				return selfLink != null;
			case InventoryPackage.DCAE_SERVICE_TYPE__CREATED1:
				return CREATED1_EDEFAULT == null ? created1 != null : !CREATED1_EDEFAULT.equals(created1);
			case InventoryPackage.DCAE_SERVICE_TYPE__DEACTIVATED:
				return DEACTIVATED_EDEFAULT == null ? deactivated != null : !DEACTIVATED_EDEFAULT.equals(deactivated);
		}
		return super.eIsSet(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		if (eIsProxy()) return super.toString();

		StringBuffer result = new StringBuffer(super.toString());
		result.append(" (owner: ");
		result.append(owner);
		result.append(", typeName: ");
		result.append(typeName);
		result.append(", typeVersion: ");
		result.append(typeVersion);
		result.append(", blueprintTemplate: ");
		result.append(blueprintTemplate);
		result.append(", serviceIds: ");
		result.append(serviceIds);
		result.append(", vnfTypes: ");
		result.append(vnfTypes);
		result.append(", serviceLocations: ");
		result.append(serviceLocations);
		result.append(", asdcServiceId: ");
		result.append(asdcServiceId);
		result.append(", asdcResourceId: ");
		result.append(asdcResourceId);
		result.append(", asdcServiceURL: ");
		result.append(asdcServiceURL);
		result.append(", typeId: ");
		result.append(typeId);
		result.append(", created1: ");
		result.append(created1);
		result.append(", deactivated: ");
		result.append(deactivated);
		result.append(')');
		return result.toString();
	}

} //DCAEServiceTypeImpl