| Modifier and Type | Method and Description |
|---|---|
Operand |
Expression.evaluateExpression() |
Operand[] |
Expression.getOperands() |
| Constructor and Description |
|---|
Expression(Operand[] operands,
OperationType[] operationTypes) |
| Modifier and Type | Class and 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
Created by tobiasstamann on 26.10.17.
|
| Modifier and Type | Method and Description |
|---|---|
static Operand |
OperandFactory.createOperand(OperandType operandType,
java.lang.String expressionString,
OperationType[] unaryOperationsToBeApplied,
Expression expression)
Factory class for the creation of Operands.
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperationWrapperOperand |
OperandFactory.createUnaryOperand(Operand operand,
OperationType operationType) |
static InternalOperandTypeForCalculations |
InternalOperandTypeForCalculations.getOperationModeForOperand(Operand operand)
Gets the operand mode for a java type.
|
static java.lang.String |
Operand.getStringRepresentationOfOperandsJavaTypes(Operand[] operandsArray)
Gets a String representation of all operand types of the passed Operands array.
|
| Constructor and Description |
|---|
UnaryOperationWrapperOperand(Operand operand,
OperationType unaryOperationType) |
| Modifier and Type | Method and Description |
|---|---|
abstract Operand |
OperationType.doOperation(Operand... operands)
Abstract base method to execute an operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Double |
OperationType.convertToDouble(Operand operand)
Used to convert decimal and floating point numbers to a Double value.
|
protected java.lang.Long |
OperationType.convertToLong(Operand operand)
Used to convert decimal numbers to a Long value.
|
protected java.lang.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-2018 Holisticon AG. All Rights Reserved.