public class EventBundleImpl extends Object implements EventBundle, Serializable
EventBundleImpl implements a serializable EventBundle.| Constructor and Description |
|---|
EventBundleImpl(Collection<Event> events,
boolean isLocal)
Creates a new event bundle with
events. |
public EventBundleImpl(Collection<Event> events, boolean isLocal)
events.events - the events for this bundle.isLocal - if this events were created due to a local change.public Iterator<Event> getEvents()
getEvents in interface EventBundleevents of this bundle.public boolean isLocal()
true if this event bundle is associated with a
change that was initiated by a local session info. Event bundles for
external changes will aways return false.isLocal in interface EventBundletrue if this event bundle is associated with a local
change, false if this event bundle contains external
changes.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.