Package org.openl.rules.method.table
Class TableMethod
- java.lang.Object
-
- org.openl.types.impl.AMethod
-
- org.openl.types.impl.ExecutableMethod
-
- org.openl.rules.method.ExecutableRulesMethod
-
- org.openl.rules.method.table.TableMethod
-
- All Implemented Interfaces:
INamedThing,IMetaInfo,ITablePropertiesMethod,IMemberMetaInfo,IMethodCaller,IModuleInfo,Invokable,IOpenMember,IOpenMethod,IOpenMethodHeader
- Direct Known Subclasses:
AbstractTableMethodWrapper
public class TableMethod extends ExecutableRulesMethod
IOpenMethodimplementation for table method component. TODO: rename to MethodTable.
-
-
Field Summary
-
Fields inherited from interface org.openl.base.INamedThing
EMPTY, LONG, REGULAR, SHORT
-
Fields inherited from interface org.openl.types.IOpenMethod
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description TableMethod()TableMethod(IOpenMethodHeader header, IBoundMethodNode methodBodyBoundNode, MethodTableBoundNode methodTableBoundNode)Constructs new instance of class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearForExecutionMode()CompositeMethodgetCompositeMethod()BindingDependenciesgetDependencies()MethodTableBoundNodegetMethodTableBoundNode()StringgetSourceUrl()protected ObjectinnerInvoke(Object target, Object[] params, IRuntimeEnv env)-
Methods inherited from class org.openl.rules.method.ExecutableRulesMethod
getBoundNode, getInfo, getMethodProperties, getModuleName, getProperties, getSyntaxNode, initProperties, invoke, isAlias, isMethodCacheable, setBoundNode, setModuleName
-
Methods inherited from class org.openl.types.impl.ExecutableMethod
isConstructor, toString
-
Methods inherited from class org.openl.types.impl.AMethod
getDeclaringClass, getDisplayName, getHeader, getMethod, getName, getSignature, getType, isStatic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openl.meta.IMetaInfo
getDisplayName
-
-
-
-
Constructor Detail
-
TableMethod
public TableMethod()
-
TableMethod
public TableMethod(IOpenMethodHeader header, IBoundMethodNode methodBodyBoundNode, MethodTableBoundNode methodTableBoundNode)
Constructs new instance of class.- Parameters:
header- method headermethodBodyBoundNode- method body bound node - code block that will be invoked by OpenL engine at runtimemethodTableBoundNode- table bound node (table itself)
-
-
Method Detail
-
getMethodTableBoundNode
public MethodTableBoundNode getMethodTableBoundNode()
-
innerInvoke
protected Object innerInvoke(Object target, Object[] params, IRuntimeEnv env)
- Specified by:
innerInvokein classExecutableRulesMethod
-
getDependencies
public BindingDependencies getDependencies()
-
getSourceUrl
public String getSourceUrl()
-
getCompositeMethod
public CompositeMethod getCompositeMethod()
-
clearForExecutionMode
public void clearForExecutionMode()
- Overrides:
clearForExecutionModein classExecutableRulesMethod
-
-