Package org.datanucleus.properties
Class CorePropertyValidator
- java.lang.Object
-
- org.datanucleus.properties.CorePropertyValidator
-
- All Implemented Interfaces:
PropertyValidator
public class CorePropertyValidator extends Object implements PropertyValidator
Validator for persistence properties used by core.
-
-
Constructor Summary
Constructors Constructor Description CorePropertyValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanvalidate(String name, Object value)Validate the specified property.
-
-
-
Method Detail
-
validate
public boolean validate(String name, Object value)
Validate the specified property.- Specified by:
validatein interfacePropertyValidator- Parameters:
name- Name of the propertyvalue- Value- Returns:
- Whether it is valid
-
-