Package com.db4o.events
Class CancellableObjectEventArgs
- java.lang.Object
- 
- com.db4o.events.EventArgs
- 
- com.db4o.events.TransactionalEventArgs
- 
- com.db4o.events.ObjectEventArgs
- 
- com.db4o.events.ObjectInfoEventArgs
- 
- com.db4o.events.CancellableObjectEventArgs
 
 
 
 
 
- 
- All Implemented Interfaces:
- CancellableEventArgs
 
 public class CancellableObjectEventArgs extends ObjectInfoEventArgs implements CancellableEventArgs Argument for object related events which can be cancelled.- See Also:
- EventRegistry,- CancellableEventArgs
 
- 
- 
Constructor SummaryConstructors Constructor Description CancellableObjectEventArgs(Transaction transaction, ObjectInfo objectInfo, java.lang.Object obj)Creates a new instance for the specified object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Cancels the action related to this event.ObjectInfoinfo()booleanisCancelled()Queries if the action was already cancelled by some event listener.java.lang.Objectobject()The object that triggered this event.- 
Methods inherited from class com.db4o.events.TransactionalEventArgsobjectContainer, transaction
 
- 
 
- 
- 
- 
Constructor Detail- 
CancellableObjectEventArgspublic CancellableObjectEventArgs(Transaction transaction, ObjectInfo objectInfo, java.lang.Object obj) Creates a new instance for the specified object.
 
- 
 - 
Method Detail- 
cancelpublic void cancel() Description copied from interface:CancellableEventArgsCancels the action related to this event. Although the related action will be cancelled all the registered listeners will still receive the event.- Specified by:
- cancelin interface- CancellableEventArgs
- See Also:
- CancellableEventArgs.cancel()
 
 - 
isCancelledpublic boolean isCancelled() Description copied from interface:CancellableEventArgsQueries if the action was already cancelled by some event listener.- Specified by:
- isCancelledin interface- CancellableEventArgs
- See Also:
- CancellableEventArgs.isCancelled()
 
 - 
objectpublic java.lang.Object object() Description copied from class:ObjectEventArgsThe object that triggered this event.- Overrides:
- objectin class- ObjectInfoEventArgs
 
 - 
infopublic ObjectInfo info() - Overrides:
- infoin class- ObjectInfoEventArgs
 
 
- 
 
-