|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IsEmptyPlugin
The SQL Processor plugin devoted to evaluate the emptiness of the input value.
The emptiness is the basic facility in the construction of the final SQL statements from the META SQL fragments.
The standard evaluation is the next one:
The non-emptiness of a dynamic input value depends on the Java type of the related attribute
Field Summary |
---|
Fields inherited from interface org.sqlproc.engine.plugin.Modifiers |
---|
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 |
Method Summary | |
---|---|
boolean |
isNotEmpty(SqlRuntimeContext runtimeCtx,
String attributeName,
Object obj,
Object parentObj,
SqlMetaType sqlMetaType,
String inOutModifier,
boolean inSqlSetOrInsert,
Map<String,String> values)
Used for the evaluation of the emptiness in the META SQL fragments. |
Method Detail |
---|
boolean isNotEmpty(SqlRuntimeContext runtimeCtx, String attributeName, Object obj, Object parentObj, SqlMetaType sqlMetaType, String inOutModifier, boolean inSqlSetOrInsert, Map<String,String> values) throws IllegalArgumentException
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 valuesinSqlSetOrInsert
- an indicator the input value is evaluated in the CRUD statement (INSERT or SET)values
- values for a special identifier handling, for example a sequence for an identity
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |