public abstract class BaseFunction extends BaseSelectable implements ConcreteFunction
ConcreteFunctionimplementation._hash| Constructor and Description |
|---|
BaseFunction(java.lang.String name) |
BaseFunction(java.lang.String name,
java.util.List args) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(Selectable arg)
Append the given
Selectableto my argument list. |
Selectable |
getArgument(int i)
Returns the
Selectableat the given index. |
int |
getArgumentCount()
Returns the number of arguments in my argument list.
|
abstract DataType |
getDataType() |
abstract boolean |
isValid() |
void |
setArgument(int i,
Selectable arg) |
void |
setVariableContext(VariableContext context) |
java.lang.String |
toString() |
getAlias, getLabel, getName, setAlias, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluate, getLabelpublic BaseFunction(java.lang.String name)
public BaseFunction(java.lang.String name,
java.util.List args)
public void addArgument(Selectable arg)
FunctionSelectableto my argument list.addArgument in interface Functionpublic Selectable getArgument(int i)
FunctionSelectableat the given index.getArgument in interface Functionpublic int getArgumentCount()
FunctiongetArgumentCount in interface Functionpublic abstract DataType getDataType()
getDataType in interface Selectablepublic abstract boolean isValid()
isValid in interface ConcreteFunctionpublic void setArgument(int i,
Selectable arg)
setArgument in interface Functionpublic void setVariableContext(VariableContext context)
setVariableContext in interface SelectablesetVariableContext in class BaseSelectablepublic java.lang.String toString()
toString in class java.lang.Object