| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperatorSource
This resembles a Data source of Special Arguments for any expression such as Operands, Functions and Variables, etc.. The dataSource can be the memmory, a data base, or a remote data source. For a set of a default DataSource see OperatorFactoryDB
OperatorSourceImpl
, OperatorSourceWrapper
, SmartExpressionReader
Method Summary | |
---|---|
java.util.Map<java.lang.String,OperatorFactory<Function>> | getFunctionFactories() Returns all Function Factories in this OperatorSource. |
OperatorFactory<Function> | getFunctionFactory(java.lang.String name) Returns the FunctionFactory for the given Function name. |
Variable | getGlobalVariable(java.lang.String name) Returns the Global Variable. |
java.util.Map<java.lang.String,Variable> | getGlobalVariables() Returns a map of all Global Variables. |
Variable | getLocalVariable(java.lang.String name) Returns the Local Variable. |
java.util.Map<java.lang.String,Variable> | getLocalVariables() Returns a map of all Local variables. |
java.util.Map<java.lang.String,OperatorFactory<Operand>> | getOperandFactories() Returns a map of all Operand Factories. |
OperatorFactory<Operand> | getOperandFactory(java.lang.String name) Returns the factory for the given Operand. |
Method Detail |
---|
OperatorFactory<Function> getFunctionFactory(java.lang.String name)
name
- The name of the Function OperatorFactory<Operand> getOperandFactory(java.lang.String name)
name
- The name of the operand. Variable getGlobalVariable(java.lang.String name)
Gloval Variables are variables accessed by all Expressions. For example, Constants such as E, of PI.
name
- The name of the variable. Variable getLocalVariable(java.lang.String name)
name
- The name of the variable. java.util.Map<java.lang.String,OperatorFactory<Function>> getFunctionFactories()
java.util.Map<java.lang.String,OperatorFactory<Operand>> getOperandFactories()
java.util.Map<java.lang.String,Variable> getGlobalVariables()
java.util.Map<java.lang.String,Variable> getLocalVariables()
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |