public class SSFdummyval extends java.lang.Object implements BTFunction
| Constructor and Description |
|---|
SSFdummyval() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArgs(java.util.List args)
Checks that the arguments given are acceptable arguments for this
function.
|
BaseType |
evaluate(java.util.List args)
Evaluates the function using the argument list given.
|
java.lang.String |
getName()
Returns the name of the server-side function, as it will appear in
constraint expressions.
|
BaseType |
getReturnType(java.util.List args)
A given function must always evaluate to the same class
of BaseType.
|
public java.lang.String getName()
ServerSideFunctiongetName in interface ServerSideFunctionpublic void checkArgs(java.util.List args)
throws InvalidParameterException
ServerSideFunctioncheckArgs in interface ServerSideFunctionargs - A list of SubClauses that the caller is considering passing
to the evaluate() method of the function.InvalidParameterException - Thrown if the function will not
evaluate successfully using these arguments.public BaseType getReturnType(java.util.List args)
BTFunctiongetReturnType in interface BTFunctionpublic BaseType evaluate(java.util.List args) throws DAP2ServerSideException
BTFunctionevaluate in interface BTFunctionDAP2ServerSideException - Thrown if the function
cannot evaluate successfully. The exact type of exception is up
to the author of the server-side function.