/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: if (resolve) return getOperation(); return basicGetOperation(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public JvmOperation getOperation() { if (operation != null && operation.eIsProxy()) { InternalEObject oldOperation = (InternalEObject)operation; operation = (JvmOperation)eResolveProxy(oldOperation); if (operation != oldOperation) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, TypesPackage.JVM_ANNOTATION_VALUE__OPERATION, oldOperation, operation)); } } return operation; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOperation(JvmOperation newOperation) { JvmOperation oldOperation = operation; operation = newOperation; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_ANNOTATION_VALUE__OPERATION, oldOperation, operation)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: setOperation((JvmOperation)newValue); return; } super.eSet(featureID, newValue); }
@Override public EObject eResolveProxy(InternalEObject proxy) { Resource resource = eResource(); if (resource instanceof IJavaSchemeUriResolver) { EObject result = ((IJavaSchemeUriResolver) resource).resolveJavaObjectURIProxy(proxy, this); if (result != null) return result; } return super.eResolveProxy(proxy); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOperation(JvmOperation newOperation) { JvmOperation oldOperation = operation; operation = newOperation; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_ANNOTATION_VALUE__OPERATION, oldOperation, operation)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: setOperation((JvmOperation)null); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public JvmOperation getOperation() { if (operation != null && operation.eIsProxy()) { InternalEObject oldOperation = (InternalEObject)operation; operation = (JvmOperation)eResolveProxy(oldOperation); if (operation != oldOperation) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, TypesPackage.JVM_ANNOTATION_VALUE__OPERATION, oldOperation, operation)); } } return operation; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: if (resolve) return getOperation(); return basicGetOperation(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: setOperation((JvmOperation)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case TypesPackage.JVM_ANNOTATION_VALUE__OPERATION: setOperation((JvmOperation)null); return; } super.eUnset(featureID); }