Class StringPropertyValidator

java.lang.Object
org.datanucleus.properties.StringPropertyValidator
All Implemented Interfaces:
PropertyValidator

public class StringPropertyValidator extends Object implements PropertyValidator
Validator for a property that represents a String.
  • Constructor Details

    • StringPropertyValidator

      public StringPropertyValidator()
  • Method Details

    • validate

      public boolean validate(String name, Object value)
      Method to validate the property, allowing only String.
      Specified by:
      validate in interface PropertyValidator
      Parameters:
      name - Name of property
      value - Value of property
      Returns:
      Whether it is valid