Class Discard

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

public class Discard extends Criterion
The class extends Criterion and aims to discard all key-values couple given by input.
  • Constructor Details

    • Discard

      public Discard()
  • 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