@Override public void visit(CDOUnsetFeatureDelta delta) { revision.unset(delta.getFeature()); }
public void visit(CDOUnsetFeatureDelta delta) { // TODO: correct this when DBStore implements unsettable features // see Bugs 259868 and 263010 ITypeMapping tm = getValueMapping(delta.getFeature()); attributeChanges.add(Pair.create(tm, null)); }
@Override public void visit(CDOUnsetFeatureDelta delta) { EStructuralFeature feature = delta.getFeature(); if (isContainment(feature)) { Object value = oldRevision.getValue(feature); handleContainment(value, -1); } }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { throw new ImplementationError("Should not be called"); //$NON-NLS-1$ } clearList(accessor, id); }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { Assert.isTrue(false); } if (TRACER.isEnabled()) { TRACER.format(" - unset list"); //$NON-NLS-1$ } // set the clear-flag clearFirst = true; // and also clear all manipulation items manipulations.clear(); newListSize = 0; }
@Override public void visit(CDOUnsetFeatureDelta delta) { EStructuralFeature feature = delta.getFeature(); Object oldValue = getOldValue(feature); if (oldValue instanceof CDOID) { CDOID oldID = (CDOID)oldValue; CDOObject object = findObjectByID(oldID); if (object != null) { oldValue = object; } } add(createNotification(Notification.UNSET, feature, oldValue, null, Notification.NO_INDEX)); }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { throw new ImplementationError("Should not be called"); //$NON-NLS-1$ } if (TRACER.isEnabled()) { TRACER.format("Delta Unsetting"); //$NON-NLS-1$ } clearList(accessor, id, oldVersion, newVersion); lastIndex = -1; }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { throw new ImplementationError("Should not be called"); //$NON-NLS-1$ } if (TRACER.isEnabled()) { TRACER.format("Delta Unsetting"); //$NON-NLS-1$ } clearList(accessor, id, branchID, oldVersion, newVersion, lastIndex, timestamp); lastIndex = -1; }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { throw new ImplementationError("Should not be called"); //$NON-NLS-1$ } if (TRACER.isEnabled()) { TRACER.format("Delta Unsetting"); //$NON-NLS-1$ } clearList(accessor, id, branchID, oldVersion, newVersion, lastIndex); lastIndex = -1; lastRemovedIndex = -1; }
public void visit(CDOUnsetFeatureDelta delta) { if (delta.getFeature().isUnsettable()) { throw new ImplementationError("Should not be called"); //$NON-NLS-1$ } if (TRACER.isEnabled()) { TRACER.format("Delta Unsetting"); //$NON-NLS-1$ } clearList(accessor, id, oldVersion, newVersion); lastIndex = -1; lastRemovedIndex = -1; }
@Override public void visit(CDOUnsetFeatureDelta delta) { EStructuralFeature feature = delta.getFeature(); Object oldValue = getOldValue(feature); if (oldValue instanceof CDOID) { CDOID oldID = (CDOID)oldValue; CDOObject object = findObjectByID(oldID); if (object != null) { oldValue = object; } } add(new CDODeltaNotificationImpl(object, Notification.UNSET, getEFeatureID(feature), oldValue, null)); }
EStructuralFeature feat = ((CDOUnsetFeatureDelta)featureDelta).getFeature(); InternalCDORevision cleanRev = transaction.getCleanRevisions().get(dirtyObject); Object idOrObject = cleanRev.getValue(feat);
EStructuralFeature feat = ((CDOUnsetFeatureDelta)featureDelta).getFeature(); InternalCDORevision cleanRev = transaction.getCleanRevisions().get(dirtyObject); Object idOrObject = cleanRev.getValue(feat);