|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: OCLMethodChain
Description: Represents a continous string of method calls. Equivalent to the java expression someInstance.aMethod().anotherMethod().foo()
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Method Summary | |
void |
addMethod(OCLMethod theMethod)
Adds the specified method to the method chain |
java.lang.Object |
invoke()
Invokes this method chain and returns its result |
void |
removeMethod(OCLMethod theMethod)
Removes the specified method from the chain |
| Method Detail |
public void addMethod(OCLMethod theMethod)
theMethod - OCLMethodpublic void removeMethod(OCLMethod theMethod)
theMethod - OCLMethod
public java.lang.Object invoke()
throws java.lang.IllegalArgumentException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException - if there is no object to invoke this method on
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||