CollectionMethodEvent
Supported only by WrapperFactory , represents an interaction with a collection object itself.
API
CollectionMethodEvent.java
class CollectionMethodEvent {
CollectionMethodEvent(Object source, Identifier collectionIdentifier, Object domainObject, String methodName, Object[] args, Object returnValue)
Object getSource() (1)
Object getDomainObject() (2)
String getMethodName() (3)
Object[] getArgs() (4)
Object getReturnValue() (5)
}
1 | getSource()
The collection object (an instance of a |
2 | getDomainObject()
The owner of the collection (an instance of |
3 | getMethodName()
The name of the method invoked on this collection, for example |
4 | getArgs()
The arguments with which the collection’s #getMethodName() method was invoked. |
5 | getReturnValue()
The return value from the #getMethodName() method invocation. |