Package org.openl.rules.calc
Class Spreadsheet
- java.lang.Object
-
- org.openl.types.impl.AMethod
-
- org.openl.types.impl.ExecutableMethod
-
- org.openl.rules.method.ExecutableRulesMethod
-
- org.openl.rules.calc.Spreadsheet
-
- All Implemented Interfaces:
INamedThing,IMetaInfo,ITablePropertiesMethod,IMemberMetaInfo,IMethodCaller,IModuleInfo,Invokable,IOpenMember,IOpenMethod,IOpenMethodHeader
- Direct Known Subclasses:
AbstractSpreadsheetWrapper
public class Spreadsheet extends ExecutableRulesMethod
-
-
Field Summary
Fields Modifier and Type Field Description static StringSPREADSHEETRESULT_SHORT_TYPE_PREFIXstatic StringSPREADSHEETRESULT_TYPE_PREFIX-
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 Spreadsheet()Spreadsheet(IOpenMethodHeader header, SpreadsheetBoundNode boundNode)
-
Method Summary
-
Methods inherited from class org.openl.rules.method.ExecutableRulesMethod
clearForExecutionMode, 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, 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
-
-
-
-
Field Detail
-
SPREADSHEETRESULT_TYPE_PREFIX
public static final String SPREADSHEETRESULT_TYPE_PREFIX
- See Also:
- Constant Field Values
-
SPREADSHEETRESULT_SHORT_TYPE_PREFIX
public static final String SPREADSHEETRESULT_SHORT_TYPE_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Spreadsheet
public Spreadsheet()
-
Spreadsheet
public Spreadsheet(IOpenMethodHeader header, SpreadsheetBoundNode boundNode)
-
-
Method Detail
-
getType
public IOpenClass getType()
- Specified by:
getTypein interfaceIOpenMember- Overrides:
getTypein classAMethod
-
setCustomSpreadsheetResultType
public void setCustomSpreadsheetResultType(CustomSpreadsheetResultOpenClass spreadsheetCustomResultType)
-
getBoundNode
public SpreadsheetBoundNode getBoundNode()
- Overrides:
getBoundNodein classExecutableRulesMethod
-
getCells
public SpreadsheetCell[][] getCells()
-
getDependencies
public BindingDependencies getDependencies()
-
getResultBuilder
public IResultBuilder getResultBuilder()
-
getSourceUrl
public String getSourceUrl()
-
getSpreadsheetType
public SpreadsheetOpenClass getSpreadsheetType()
-
getHeight
public int getHeight()
-
setCells
public void setCells(SpreadsheetCell[][] cells)
-
setColumnNames
public void setColumnNames(String[] colNames)
-
setResultBuilder
public void setResultBuilder(IResultBuilder resultBuilder)
-
setRowNames
public void setRowNames(String[] rowNames)
-
getRowNamesForResultModel
public String[] getRowNamesForResultModel()
-
setRowNamesForResultModel
public void setRowNamesForResultModel(String[] rowNamesForResultModel)
-
getColumnNamesForResultModel
public String[] getColumnNamesForResultModel()
-
setColumnNamesForResultModel
public void setColumnNamesForResultModel(String[] columnNamesForResultModel)
-
setSpreadsheetType
public void setSpreadsheetType(SpreadsheetOpenClass spreadsheetType)
-
getWidth
public int getWidth()
-
getRowNames
public String[] getRowNames()
-
getColumnNames
public String[] getColumnNames()
-
isTableStructureDetails
public boolean isTableStructureDetails()
-
getTableStructureDetails
public void getTableStructureDetails(boolean tableStructureDetails)
-
innerInvoke
protected Object innerInvoke(Object target, Object[] params, IRuntimeEnv env)
- Specified by:
innerInvokein classExecutableRulesMethod
-
createInvoker
protected Invokable createInvoker()
-
getInvoker
protected Invokable getInvoker()
-
setInvoker
public void setInvoker(SpreadsheetInvoker invoker)
-
-