|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.nakedobjects.applib.events.InteractionEvent
org.nakedobjects.applib.events.AccessEvent
org.nakedobjects.applib.events.CollectionMethodEvent
public class CollectionMethodEvent
Represents an interaction with a collection object itself.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CollectionMethodEvent(Object source,
Identifier collectionIdentifier,
Object domainObject,
String methodName,
Object[] args,
Object returnValue)
|
|
| Method Summary | |
|---|---|
Object[] |
getArgs()
The arguments with which the collection's method was invoked. |
Object |
getDomainObject()
The owner of the collection (an instance of Customer/tt> or Order, say). |
String |
getMethodName()
The name of the method invoked on this collection, for example isEmpty. |
Object |
getReturnValue()
The return value from the method invocation. |
Object |
getSource()
The collection object (an instance of a List or a Set etc) that is the originator of this event. |
| Methods inherited from class org.nakedobjects.applib.events.InteractionEvent |
|---|
advised, getAdvisorClass, getClassName, getClassNaturalName, getIdentifier, getMemberName, getMemberNaturalName, getMemberParameterNames, getMemberParameterNaturalNames, getReason, isVeto |
| Methods inherited from class java.util.EventObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionMethodEvent(Object source,
Identifier collectionIdentifier,
Object domainObject,
String methodName,
Object[] args,
Object returnValue)
| Method Detail |
|---|
public Object getSource()
The owning domain object is available using getDomainObject().
getSource in class InteractionEventgetDomainObject()public Object getDomainObject()
getSource()public String getMethodName()
public Object[] getArgs()
method was invoked.
public Object getReturnValue()
method invocation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||