Class OperationAssignNull

java.lang.Object
overit.geocall.sql.code.criterion.Criterion
overit.geocall.sql.code.criterion.OperationAssignNull
All Implemented Interfaces:
Cloneable

public class OperationAssignNull extends Criterion
The class extends Criterion and aims to represent the equal-null operator used in the clauses definition.
This Operation could be used like this way "NAMEFIELD = NULL".
  • Constructor Details

    • OperationAssignNull

      public OperationAssignNull()
  • Method Details

    • define

      public Parts define(String name, Object value)
      Description copied from class: Criterion
      defines the Parts of the operation with all the information to become a fragment.
      Specified by:
      define in class Criterion
      Parameters:
      name - the nome of the context field
      value - 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