|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectResourceImpl
org.mindswap.ocl.impl.OCLResourceImpl
org.mindswap.ocl.impl.OCLMethodChainImpl
Title:
Description: Implementation of the OCL Method Chain interface
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Field Summary | |
static Implementation |
factory
|
| Constructor Summary | |
OCLMethodChainImpl(Node n,
EnhGraph eg)
|
|
| 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 |
| Methods inherited from class org.mindswap.ocl.impl.OCLResourceImpl |
mustBeValidModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Implementation factory
| Constructor Detail |
public OCLMethodChainImpl(Node n,
EnhGraph eg)
| Method Detail |
public void addMethod(OCLMethod theMethod)
OCLMethodChain
addMethod in interface OCLMethodChaintheMethod - OCLMethodpublic void removeMethod(OCLMethod theMethod)
OCLMethodChain
removeMethod in interface OCLMethodChaintheMethod - OCLMethod
public java.lang.Object invoke()
throws java.lang.IllegalArgumentException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
OCLMethodChain
invoke in interface OCLMethodChainjava.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 | |||||||||