public class PartialResult extends java.lang.Object implements java.io.Serializable, AppianTypeHolder
This class represents the partial evaluation of a function in the Expression Editor, as well as the result of that evaluation.
Constructor and Description |
---|
PartialResult() |
Modifier and Type | Method and Description |
---|---|
void |
fillInAppianTypes(AppianTypeCache cache_)
If the implementing class references any Appian-typed objects (such as
User, Group, Folder), this method should be implemented to put the
primary keys of these objects in the given cache.
|
java.lang.String |
getAssignmentOperator()
Gets the assignment operator
Supported operators are:
: Direct Modification +: Addition Modification -: Subtraction Modification *: Multiplication Modification /: Division Modification ^: Exponentiation Modification &: Concatenation Modification |
java.lang.String |
getAssignmentVariable()
Gets the assignment variable.
|
java.lang.String |
getFunction()
Gets the name of the function
|
TypedVariable[] |
getFunctionParameters()
Gets the function parameters
|
TypedVariable |
getResult()
Gets the partial result
|
void |
setAssignmentOperator(java.lang.String operator_)
Sets the assignment operator
Allowed operators are:
: Direct Modification +: Addition Modification -: Subtraction Modification *: Multiplication Modification /: Division Modification ^: Exponentiation Modification &: Concatenation Modification |
void |
setAssignmentVariable(java.lang.String variable_)
Sets assignment variable.
|
void |
setFunction(java.lang.String function_)
Sets the name of the function
|
void |
setFunctionParameters(TypedVariable[] parameters_)
Sets the function parameters
|
void |
setResult(TypedVariable result_)
Sets the partial result
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getAssignmentOperator()
public void setAssignmentOperator(java.lang.String operator_)
operator_
- String assignment operatorpublic java.lang.String getAssignmentVariable()
public void setAssignmentVariable(java.lang.String variable_)
variable_
- String assignment variablepublic java.lang.String getFunction()
public void setFunction(java.lang.String function_)
function_
- the name of the functionpublic TypedVariable[] getFunctionParameters()
TypedVariable
function parametersTypedVariable
public void setFunctionParameters(TypedVariable[] parameters_)
parameters_
- array of TypedVariable
function parametersTypedVariable
public TypedVariable getResult()
TypedVariable
TypedVariable
public void setResult(TypedVariable result_)
result_
- the partial result as a TypedVariable
TypedVariable
public void fillInAppianTypes(AppianTypeCache cache_)
AppianTypeHolder
fillInAppianTypes
in interface AppianTypeHolder
cache_
- cache of Appian-typed objects.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.