/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case IArchimatePackage.CONNECTABLE__SOURCE_CONNECTIONS: getSourceConnections().clear(); return; case IArchimatePackage.CONNECTABLE__TARGET_CONNECTIONS: getTargetConnections().clear(); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case IArchimatePackage.CONNECTABLE__SOURCE_CONNECTIONS: getSourceConnections().clear(); getSourceConnections().addAll((Collection<? extends IDiagramModelConnection>) newValue); return; case IArchimatePackage.CONNECTABLE__TARGET_CONNECTIONS: getTargetConnections().clear(); getTargetConnections().addAll((Collection<? extends IDiagramModelConnection>) newValue); return; } super.eSet(featureID, newValue); }