org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.recording
Class NotificationRecordingHint

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.recording.NotificationRecordingHint

public final class NotificationRecordingHint
extends Object

Author:
chodnick

Field Summary
static NotificationRecordingHint DEFAULT
          Hints, that the recording is representing a default operation.
static NotificationRecordingHint DELETE
          Hints, that the recording is representing a delete operation.
 
Method Summary
 boolean isDelete()
          Returns whether the notification recording represents a delete chain.
 boolean needsManualStopOfRecording()
          Returns whether a recording with this hint needs to be stopped manually, or will be stopped by recognition of the end of a notification chain.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETE

public static final NotificationRecordingHint DELETE
Hints, that the recording is representing a delete operation.


DEFAULT

public static final NotificationRecordingHint DEFAULT
Hints, that the recording is representing a default operation. Which is the usual case.

Method Detail

needsManualStopOfRecording

public boolean needsManualStopOfRecording()
Returns whether a recording with this hint needs to be stopped manually, or will be stopped by recognition of the end of a notification chain. This is usually true for the DELETE hint only.

Returns:
true if the recording needs to be stopped manually, because it spans multiple EMF notification chains

isDelete

public boolean isDelete()
Returns whether the notification recording represents a delete chain.

Returns:
true if recording is a delete chain, false otherwise.


Copyright © 2015. All Rights Reserved.