/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: return ((InternalEList<?>)getParameterValueGroup()).basicRemove(otherEnd, msgs); case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: return ((InternalEList<?>)getParameterValue()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * Add the object without updating the inverse. */ @SuppressWarnings("unchecked") public NotificationChain basicAdd(Map.Entry<K, V> object, NotificationChain notifications) { return ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).basicAdd(object, notifications); }
/** * Add the object without verifying uniqueness. */ @SuppressWarnings("unchecked") public void addUnique(int index, Map.Entry<K, V> object) { ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).addUnique(index, object); }
/** * Returns an iterator that yields unresolved values. */ @SuppressWarnings("unchecked") public Iterator<Map.Entry<K, V>> basicIterator() { return ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).basicIterator(); }
/** * Add the object without updating the inverse. */ @SuppressWarnings("unchecked") public NotificationChain basicAdd(Map.Entry<K, V> object, NotificationChain notifications) { return ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).basicAdd(object, notifications); }
/** * Add the object without verifying uniqueness. */ @SuppressWarnings("unchecked") public void addUnique(Map.Entry<K, V> object) { ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).addUnique(object); }
/** * Returns an iterator that yields unresolved values. */ @SuppressWarnings("unchecked") public Iterator<Map.Entry<K, V>> basicIterator() { return ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).basicIterator(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BpsimPackage.VENDOR_EXTENSION__ANY: return ((InternalEList<?>)getAny()).basicRemove(otherEnd, msgs); case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case SQLTablesPackage.BASE_TABLE__CONSTRAINTS: return ((InternalEList)getConstraints()).basicAdd(otherEnd, msgs); case SQLTablesPackage.BASE_TABLE__REFERENCING_FOREIGN_KEYS: return ((InternalEList)getReferencingForeignKeys()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
/** * Add the object without verifying uniqueness. */ @SuppressWarnings("unchecked") public void addUnique(Map.Entry<K, V> object) { ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).addUnique(object); }
public ProperContentIterator(InternalEList<? extends E> basicContents) { iterator = basicContents.basicIterator(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: return ((InternalEList<?>)getUserDistributionDataPoint()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case LooseconfigPackage.LOOSE_WAR_FILE__LOOSE_LIBS: return ((InternalEList)getLooseLibs()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
/** * Add the object without verifying uniqueness. */ @SuppressWarnings("unchecked") public void addUnique(int index, Map.Entry<K, V> object) { ((InternalEList<Map.Entry<K, V>>)(InternalEList<?>)delegateEList).addUnique(index, object); }
public ProperContentIterator(InternalEList<? extends E> basicContents) { iterator = basicContents.basicIterator(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: return ((InternalEList<?>)getParameterValueGroup()).basicRemove(otherEnd, msgs); case BpsimPackage.PARAMETER__PARAMETER_VALUE: return ((InternalEList<?>)getParameterValue()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case CommonarchivePackage.EAR_FILE__MODULE_REFS: return ((InternalEList)getModuleRefs()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
@Override public void visitEnd() { target.addUnique(result); }
@SuppressWarnings("unchecked") public ProperContentIterator(EObject eObject, boolean isResolveProxies) { EList<EObject> contents = eObject.eContents(); iterator = (Iterator<E>) (!isResolveProxies && contents instanceof InternalEList<?> ? ((InternalEList<EObject>)contents).basicIterator() : contents.iterator()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BpsimPackage.BP_SIM_DATA_TYPE__GROUP: return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: return ((InternalEList<?>)getScenario()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }