public interface IsTruePlugin extends Modifiers
A boolean expression is an expression of the input values with the following operands between them:
The standard evaluation is the next one:
A logical value of an input value (dynamic or static) depends on the Java type of the related attribute. If the value is null, it is evaluated as false. Otherwise it is evaluated as true in the following cases
MODIFIER_ANY, MODIFIER_ANYSET, MODIFIER_CALL, MODIFIER_DISCRIMINATOR, MODIFIER_EMPTY, MODIFIER_GTYPE, MODIFIER_ID, MODIFIER_IDENTITY_GENERATOR, MODIFIER_IDENTITY_SELECT, MODIFIER_NOTEMPTY, MODIFIER_NOTNULL, MODIFIER_NULL, MODIFIER_SEQUENCE, MODIFIER_TYPE| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
Map<String,String> values)
Used for the evaluation of the logical expression in the conditional META SQL fragments.
|
boolean isTrue(SqlRuntimeContext runtimeCtx, String attributeName, Object obj, Object parentObj, SqlMetaType sqlMetaType, String inOutModifier, Map<String,String> values)
runtimeCtx - the public runtime contextattributeName - the name of the input valueobj - the input valueparentObj - the parent of the input valuesqlMetaType - the internal type (= META type) devoted for the special processing of the input valuesinOutModifier - the input/output value modifier devoted to extend the processing of the input/output valuesvalues - values for a special identifier handling, for example a sequence for an identityCopyright © 2016. All rights reserved.