Class NotNullValidation

java.lang.Object
com.invirgance.convirgance.web.validation.NotNullValidation
All Implemented Interfaces:
com.invirgance.convirgance.transform.Transformer, Validation

@Wiring public class NotNullValidation extends Object implements Validation
Author:
jbanes
  • Constructor Details

    • NotNullValidation

      public NotNullValidation()
    • NotNullValidation

      public NotNullValidation(String key)
  • Method Details

    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • validate

      public void validate(com.invirgance.convirgance.json.JSONObject record) throws ValidationException
      Description copied from interface: Validation
      Tests if the given record is valid
      Specified by:
      validate in interface Validation
      Parameters:
      record - The JSONObject to validate.
      Throws:
      ValidationException - if the record is invalid