1 | public EStructuralFeature basicGetFeature()↵ | | 1 | public EStructuralFeature basicGetFeature()↵
|
2 | {↵ | | 2 | {↵
|
3 | return feature;↵ | | 3 | return feature;↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * <!-- begin-user-doc -->↵ | | 6 | * <!-- begin-user-doc -->↵
|
7 | * <!-- end-user-doc -->↵ | | 7 | * <!-- end-user-doc -->↵
|
8 | * @generated NOT↵ | | 8 | * @generated NOT↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setFeature(EStructuralFeature newFeature)↵ | | 10 | public void setFeature(EStructuralFeature newFeature)↵
|
11 | {↵ | | 11 | {↵
|
12 | EStructuralFeature oldFeature = basicGetFeature();↵ | | 12 | EStructuralFeature oldFeature = basicGetFeature();↵
|
13 | feature = newFeature;↵ | | 13 | feature = newFeature;↵
|
14 | featureName = null;↵ | | 14 | featureName = null;↵
|
15 | if (feature != null && feature.eIsProxy())↵ | | 15 | if (feature != null && feature.eIsProxy())↵
|
16 | eFlags |= EPROXY_FEATURECHANGE;↵ | | 16 | eFlags |= EPROXY_FEATURECHANGE;↵
|
17 | else ↵ | | 17 | else ↵
|
18 | eFlags &= ~EPROXY_FEATURECHANGE;↵ | | 18 | eFlags &= ~EPROXY_FEATURECHANGE;↵
|
19 | if (eNotificationRequired())↵ | | 19 | if (eNotificationRequired())↵
|
20 | eNotify(new ENotificationImpl(this, Notification.SET, ChangePackage.FEATURE_CHANGE__FEATURE, oldFeature, newFeature));↵ | | 20 | eNotify(new ENotificationImpl(this, Notification.SET, ChangePackage.FEATURE_CHANGE__FEATURE, oldFeature, newFeature));↵
|
21 | }↵ | | 21 | }↵
|
|
22 | /**↵ | | 22 | /**↵
|
23 | * <!-- begin-user-doc -->↵ | | 23 | * <!-- begin-user-doc -->↵
|
24 | * <!-- end-user-doc -->↵ | | 24 | * <!-- end-user-doc -->↵
|
25 | * @generated NOT↵ | | 25 | * @generated NOT↵
|
26 | */↵ | | 26 | */↵
|
27 | public void unsetFeature()↵ | | 27 | public void unsetFeature()↵
|
28 | {↵ | | 28 | {↵
|
29 | setFeature(null); | | 29 | setFeature(null);
|