org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.recording
Class NotificationRecording
java.lang.Object
org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.recording.NotificationRecording
public class NotificationRecording
- extends Object
A NotificationRecording is basically a list of EMF Notifications.
- Author:
- chodnick
NotificationRecording
public NotificationRecording()
getHint
public NotificationRecordingHint getHint()
- Returns:
- currently set hint
setHint
public void setHint(NotificationRecordingHint hint)
- Parameters:
hint
- the hint to set
setDate
public void setDate(Date date)
- Parameters:
date
- the date to set
getDate
public Date getDate()
- Returns:
- the date
record
public void record(org.eclipse.emf.common.notify.Notification n)
- Parameters:
n
- the notification to add to the recording
getLastRecorded
public NotificationInfo getLastRecorded()
- Returns:
- the last recorded notification or null if the recording is empty
empty
public boolean empty()
- Returns:
- if the recording is empty
asMutableList
public List<NotificationInfo> asMutableList()
- Use to change the contents of the recording dynamically. For example in filters.
- Returns:
- a mutable internal representation of the notifcations
Copyright © 2015. All Rights Reserved.