| Modifier and Type | Method | Description |
|---|---|---|
Operand |
Expression.evaluateExpression() |
|
Operand[] |
Expression.getOperands() |
| Constructor | Description |
|---|---|
Expression(Operand[] operands,
OperationType[] operationTypes) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BooleanOperand |
Boolean based operand.
|
class |
DoubleOperand |
Floating point based operand.
|
class |
DynamicOperand |
Dynamic operand queried from models.
|
class |
ExpressionOperand |
Expression Based Operand.
|
class |
LongOperand |
String based operand.
|
class |
NullValueOperand |
Operand that represents a null value.
|
class |
OperationResultOperand |
Used to hold an Operation result
|
class |
ParsedOperand<T> |
Abstract base class for operands parsed from expression.
|
class |
StringOperand |
String based operand.
|
class |
UnaryOperationWrapperOperand |
A wrapper for unary operations.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Operand |
OperandFactory.createOperand(OperandType operandType,
String expressionString,
OperationType[] unaryOperationsToBeApplied,
Expression expression) |
Factory class for the creation of Operands.
|
| Modifier and Type | Method | Description |
|---|---|---|
static UnaryOperationWrapperOperand |
OperandFactory.createUnaryOperand(Operand operand,
OperationType operationType) |
|
static InternalOperandTypeForCalculations |
InternalOperandTypeForCalculations.getOperationModeForOperand(Operand operand) |
Gets the operand mode for a java type.
|
static String |
Operand.getStringRepresentationOfOperandsJavaTypes(Operand[] operandsArray) |
Gets a String representation of all operand types of the passed Operands array.
|
| Constructor | Description |
|---|---|
UnaryOperationWrapperOperand(Operand operand,
OperationType unaryOperationType) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract Operand |
OperationType.doOperation(Operand... operands) |
Abstract base method to execute an operation.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Double |
OperationType.convertToDouble(Operand operand) |
Used to convert decimal and floating point numbers to a Double value.
|
protected Long |
OperationType.convertToLong(Operand operand) |
Used to convert decimal numbers to a Long value.
|
protected String |
OperationType.convertToString(Operand operand) |
Converts an operand to a String value by using it's toString method.
|
protected void |
OperationType.doBaseChecks(OperationType operationType,
Operand[] operands,
boolean doNullCheck,
boolean doSupportedTypesCheck) |
This method is used to do some base checks that must be done before most operations.
|
abstract Operand |
OperationType.doOperation(Operand... operands) |
Abstract base method to execute an operation.
|
Copyright © 2017–2020 Holisticon AG. All rights reserved.