Class OperationAssignNull
java.lang.Object
overit.geocall.sql.code.criterion.Criterion
overit.geocall.sql.code.criterion.OperationAssignNull
- All Implemented Interfaces:
Cloneable
The class extends
This Operation could be used like this way "NAMEFIELD = NULL".
Criterion and aims to represent the equal-null operator used in the clauses definition.This Operation could be used like this way "NAMEFIELD = NULL".
-
Field Summary
Fields inherited from class overit.geocall.sql.code.criterion.Criterion
ASSIGN_NULL, DIFFERENT, DISCARD, DISCARD_CONTROLS, DISCARD_NULLS, DISCARD_USELESS_COLLECTION, DISCARD_USELESS_LIKE, DISCARD_USELESS_SET, DISCARD_USELESS_STRING, EMPTY_SET, EQUAL, GREATER, GREATEREQUAL, IN, IS, ISNOT, ISNOTNULL, ISNULL, LESS, LESSEQUAL, LIKE, NOT_EQUAL, NOTIN, NULL_SET, REQUIRE_IS_DIFFERENT, REQUIRE_IS_EQUAL_TO, REQUIRE_IS_GREATER_THAN, REQUIRE_IS_GREATER_THAN_OR_EQUAL_TO, REQUIRE_IS_IN, REQUIRE_IS_LESS_THAN, REQUIRE_IS_LESS_THAN_OR_EQUAL_TO, REQUIRE_IS_LIKE, REQUIRE_IS_NOT_IN, REQUIRE_IS_NOT_NULL, REQUIRE_IS_NULL, RESET_EMPTY_SET, TAKE_EMPTY_COLLECTION, TAKE_EMPTY_SET, TAKE_IN, TAKE_IS_NULL, TAKE_LIKE, USELESS_COLLECTION, USELESS_LIKE, USELESS_SET, USELESS_STRING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class overit.geocall.sql.code.criterion.Criterion
fieldDepiction
-
Constructor Details
-
OperationAssignNull
public OperationAssignNull()
-
-
Method Details
-
define
Description copied from class:Criteriondefines the Parts of the operation with all the information to become a fragment.- Specified by:
definein classCriterion- Parameters:
name- the nome of the context fieldvalue- the current value of the context field- Returns:
- return null if the Criterion don't find an information, a Parts otherwise. Then Parts con also contain empty strings if the decision is to discard the name and the value
-