Interface PropertyValidator

All Known Implementing Classes:
BooleanPropertyValidator, CorePropertyValidator, IntegerPropertyValidator, StringPropertyValidator

public interface PropertyValidator
Interface defining a validator for a DataNucleus property.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(String name, Object value)
    Method to validate the value of this property.
  • Method Details

    • validate

      boolean validate(String name, Object value)
      Method to validate the value of this property.
      Parameters:
      name - Name of the property
      value - The value
      Returns:
      Whether it is valid