Package | Description |
---|---|
com.wewebu.expression.language |
Modifier and Type | Interface and Description |
---|---|
interface |
OwExprProperty
Properties are value bearing identifiers applied to scopes.
Properties can define sub properties through a self-defined scope, hence properties are scopes. |
Modifier and Type | Class and Description |
---|---|
class |
OwExprBooleanValue
The standard boolean value.
|
class |
OwExprDateValue
A date value built around the
Calendar Java implementation. |
class |
OwExprExternalScope
External scopes are property and function domains Java API interfaces.
External scopes can be used on their own as collections of properties and functions. |
class |
OwExprNullValue
Null value class.
|
class |
OwExprNumericValue
The numeric value implementation.
Objects of this class represent floating point or integer numeric values. |
class |
OwExprObjectProperty
OwExprObjectProperty.
|
class |
OwExprReflectiveProperty
Reflective properties are properties that rely on POJOs getters to return values.
|
class |
OwExprReflectiveScope
Reflective scopes are external scopes that rely on POJOs to prelevate
functions and properties.
Getters of the underlying POJO will be interpreted as properties and methods will be interpreted as functions. |
class |
OwExprScopedProperty
OwExprScopedProperty.
|
class |
OwExprScopeValue
Scope values represent values obtained during evaluation that need to be queried for
properties or functions.
Example: employee.birthDate.year
The employee.birthDate sub-expression will be evaluated to a OwExprScopeValue |
class |
OwExprStaticArray
An expression representing a static array (inlined
array value like {1,2,3} ).
|
class |
OwExprStringValue
The string value implementation.
The implementation relays on the String Java implementation. |
class |
OwExprSystem
The system scope is the default top level scope.
|
class |
OwExprTimeValue
A date value built around the
OwExprTime implementation.Time values represent time spans. |
class |
OwExprValue
A value is an expression evaluation result.
All values are scopes. |
Modifier and Type | Method and Description |
---|---|
OwExprScope |
OwExprScopeValue.getScope() |
OwExprScope |
OwExprSymbolScope.solveScope(OwExprScope scope_p) |
OwExprScope |
OwExprReflectiveProperty.solveScope(String name_p) |
OwExprScope |
OwExprScopeValue.solveScope(String name_p) |
Modifier and Type | Method and Description |
---|---|
protected OwExprValue |
OwExprBinaryOperator.binaryEvaluation(OwExprScope scope_p,
OwExprValue v1_p,
OwExprValue v2_p)
Binary evaluation method to be called at evaluation time.
|
abstract OwExprValue |
OwExprExpression.evaluate(OwExprScope scope_p)
Evaluates this expression on the
OwExprScope (scope) provided as argument. |
OwExprValue |
OwExprScopeSelector.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprLiteral.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprUnaryExpression.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprConditionalExpression.evaluate(OwExprScope scope_p)
Evaluates this expression :
If the OwExprConditionalExpression.m_test expression results in a OwExprBooleanValue equal to OwExprBooleanValue.TRUE than the
OwExprConditionalExpression.m_trueExpression is evaluated end the result returned otherwise the OwExprConditionalExpression.m_falseExpression expression is evaluated
and the result returned. |
OwExprValue |
OwExprPrimaryPrefixExpression.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprArgumentsSuffix.evaluate(OwExprScope scope_p)
Evaluates this expression on the
OwExprScope (scope) provided as argument. |
OwExprValue |
OwExprUnparsableExpression.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprStaticArray.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprBinaryExpression.evaluate(OwExprScope scope_p)
Evaluates this expression on the
OwExprScope (scope) provided as argument. |
OwExprValue |
OwExprArraySelectorSuffix.evaluate(OwExprScope scope_p)
Evaluates this expression on the
OwExprScope (scope) provided as argument. |
OwExprValue |
OwExprDebugBracketsExpression.evaluate(OwExprScope scope_p) |
OwExprValue |
OwExprUnaryOperator.evaluate(OwExprScope scope_p,
OwExprExpression expression_p)
Unary evaluation method to be called at evaluation time.
|
OwExprValue |
OwExprPropertySymbol.getValue(OwExprScope scope_p) |
OwExprValue |
OwExprFunctionSymbol.getValue(OwExprScope scope_p,
OwExprValue[] arguments_p)
Returns a value produced by the invocation of the function represented by this symbol.
|
boolean |
OwExprFunctionSymbol.matches(OwExprScope scope_p) |
boolean |
OwExprConstantSymbol.matches(OwExprScope scope_p) |
boolean |
OwExprAnonymousSymbol.matches(OwExprScope scope_p)
A match method used to check the validity of symbols for certain scopes.
Can be used to discover symbol and related expressions validity before evaluation. |
abstract boolean |
OwExprSymbol.matches(OwExprScope scope_p)
A match method used to check the validity of symbols for certain scopes.
Can be used to discover symbol and related expressions validity before evaluation. |
boolean |
OwExprPropertySymbol.matches(OwExprScope scope_p)
A match method used to check the validity of symbols for certain scopes.
Can be used to discover symbol and related expressions validity before evaluation. |
boolean |
OwExprSymbolTable.matchesScope(OwExprScope scope_p) |
OwExprValue |
OwExprSymbolScope.runtimeValueScope(OwExprScope scope_p) |
OwExprScope |
OwExprSymbolScope.solveScope(OwExprScope scope_p) |
Constructor and Description |
---|
OwExprScopeValue(OwExprScope scope_p)
Constructor
|
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.