|
||||||||||
| 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.OCLMethodImpl
org.mindswap.ocl.impl.OCLStaticMethodImpl
Title:
Description: Implementation of the OCL Static Method interface
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Field Summary | |
static Implementation |
factory
|
| Constructor Summary | |
OCLStaticMethodImpl(Node n,
EnhGraph eg)
|
|
| Method Summary | |
Literal |
getHasClass()
Return the value of the has class property for this method. |
java.lang.Object |
invoke()
Invokes this method and returns its result |
java.lang.Object |
invoke(java.lang.Object theObject)
Invokes this method on the specifed object and returns the result |
void |
setHasClass(Literal theHasClass)
Sets the has class value for this method. |
| Methods inherited from class org.mindswap.ocl.impl.OCLMethodImpl |
addParameter, getMethodName, getOnObject, getParameters, removeParameter, setMethodName |
| 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 |
| Methods inherited from interface org.mindswap.ocl.OCLMethod |
addParameter, getMethodName, getOnObject, getParameters, removeParameter, setMethodName |
| Field Detail |
public static Implementation factory
| Constructor Detail |
public OCLStaticMethodImpl(Node n,
EnhGraph eg)
| Method Detail |
public Literal getHasClass()
OCLStaticMethod
getHasClass in interface OCLStaticMethodpublic void setHasClass(Literal theHasClass)
OCLStaticMethod
setHasClass in interface OCLStaticMethodtheHasClass - Literal the new has class
public java.lang.Object invoke()
throws java.lang.IllegalArgumentException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
OCLMethod
invoke in interface OCLMethodinvoke in class OCLMethodImpljava.lang.IllegalArgumentException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public java.lang.Object invoke(java.lang.Object theObject)
throws java.lang.IllegalArgumentException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
OCLMethod
invoke in interface OCLMethodinvoke in class OCLMethodImpljava.lang.IllegalArgumentException
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 | |||||||||