Class AbstractAlgorithmSubroutineMethodWrapper
- java.lang.Object
-
- org.openl.types.impl.AMethod
-
- org.openl.types.impl.ExecutableMethod
-
- org.openl.rules.method.ExecutableRulesMethod
-
- org.openl.rules.tbasic.AlgorithmFunction
-
- org.openl.rules.tbasic.AlgorithmSubroutineMethod
-
- org.openl.rules.lang.xls.binding.wrapper.base.AbstractAlgorithmSubroutineMethodWrapper
-
- All Implemented Interfaces:
INamedThing,IMetaInfo,ITablePropertiesMethod,IMemberMetaInfo,IMethodCaller,IModuleInfo,Invokable,IOpenMember,IOpenMethod,IOpenMethodHeader
- Direct Known Subclasses:
AlgorithmSubroutineMethodWrapper
public abstract class AbstractAlgorithmSubroutineMethodWrapper extends AlgorithmSubroutineMethod
-
-
Field Summary
Fields Modifier and Type Field Description protected AlgorithmSubroutineMethoddelegate-
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 AbstractAlgorithmSubroutineMethodWrapper(AlgorithmSubroutineMethod delegate)
-
Method Summary
-
Methods inherited from class org.openl.rules.tbasic.AlgorithmSubroutineMethod
innerInvoke
-
Methods inherited from class org.openl.rules.method.ExecutableRulesMethod
initProperties, isMethodCacheable
-
-
-
-
Field Detail
-
delegate
protected final AlgorithmSubroutineMethod delegate
-
-
Constructor Detail
-
AbstractAlgorithmSubroutineMethodWrapper
public AbstractAlgorithmSubroutineMethodWrapper(AlgorithmSubroutineMethod delegate)
-
-
Method Detail
-
getGridRegion
public IGridRegion getGridRegion()
- Overrides:
getGridRegionin classAlgorithmSubroutineMethod
-
getSourceUrl
public String getSourceUrl()
- Specified by:
getSourceUrlin interfaceIMetaInfo- Overrides:
getSourceUrlin classAlgorithmSubroutineMethod
-
setAlgorithmSteps
public void setAlgorithmSteps(List<RuntimeOperation> operations)
- Overrides:
setAlgorithmStepsin classAlgorithmSubroutineMethod
-
getAlgorithmSteps
public List<RuntimeOperation> getAlgorithmSteps()
- Overrides:
getAlgorithmStepsin classAlgorithmSubroutineMethod
-
setLabels
public void setLabels(Map<String,RuntimeOperation> localLabelsRegister)
- Overrides:
setLabelsin classAlgorithmSubroutineMethod
-
getDependencies
public BindingDependencies getDependencies()
- Specified by:
getDependenciesin interfaceIMemberMetaInfo- Overrides:
getDependenciesin classAlgorithmSubroutineMethod
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin interfaceIMemberMetaInfo- Specified by:
getPropertiesin interfaceITablePropertiesMethod- Overrides:
getPropertiesin classAlgorithmSubroutineMethod
-
getSyntaxNode
public TableSyntaxNode getSyntaxNode()
Description copied from class:ExecutableRulesMethodOverridden to get access toTableSyntaxNodefrom current implementation.- Specified by:
getSyntaxNodein interfaceIMemberMetaInfo- Overrides:
getSyntaxNodein classAlgorithmSubroutineMethod
-
invoke
public Object invoke(Object target, Object[] params, IRuntimeEnv env)
- Specified by:
invokein interfaceInvokable- Overrides:
invokein classExecutableRulesMethod
-
setBoundNode
public void setBoundNode(ATableBoundNode node)
- Overrides:
setBoundNodein classExecutableRulesMethod
-
clearForExecutionMode
public void clearForExecutionMode()
- Overrides:
clearForExecutionModein classExecutableRulesMethod
-
getBoundNode
public ATableBoundNode getBoundNode()
- Overrides:
getBoundNodein classExecutableRulesMethod
-
getMethodProperties
public ITableProperties getMethodProperties()
- Specified by:
getMethodPropertiesin interfaceITablePropertiesMethod- Overrides:
getMethodPropertiesin classExecutableRulesMethod
-
getInfo
public IMemberMetaInfo getInfo()
- Specified by:
getInfoin interfaceIOpenMember- Overrides:
getInfoin classExecutableRulesMethod
-
isConstructor
public boolean isConstructor()
- Specified by:
isConstructorin interfaceIOpenMethod- Overrides:
isConstructorin classExecutableMethod
-
toString
public String toString()
- Overrides:
toStringin classExecutableMethod
-
getModuleName
public String getModuleName()
- Specified by:
getModuleNamein interfaceIModuleInfo- Overrides:
getModuleNamein classExecutableRulesMethod
-
setModuleName
public void setModuleName(String moduleName)
- Overrides:
setModuleNamein classExecutableRulesMethod
-
getDeclaringClass
public IOpenClass getDeclaringClass()
- Specified by:
getDeclaringClassin interfaceIOpenMember- Overrides:
getDeclaringClassin classAMethod
-
getDisplayName
public String getDisplayName(int mode)
- Specified by:
getDisplayNamein interfaceIMetaInfo- Specified by:
getDisplayNamein interfaceINamedThing- Overrides:
getDisplayNamein classAMethod
-
getHeader
public IOpenMethodHeader getHeader()
-
getMethod
public IOpenMethod getMethod()
- Specified by:
getMethodin interfaceIMethodCaller- Overrides:
getMethodin classAMethod
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedThing- Overrides:
getNamein classAMethod
-
getSignature
public IMethodSignature getSignature()
- Specified by:
getSignaturein interfaceIOpenMethodHeader- Overrides:
getSignaturein classAMethod
-
getType
public IOpenClass getType()
- Specified by:
getTypein interfaceIOpenMember- Overrides:
getTypein classAMethod
-
isAlias
public boolean isAlias()
- Overrides:
isAliasin classExecutableRulesMethod
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIOpenMember- Overrides:
isStaticin classAMethod
-
-