Package org.datanucleus.properties
Class IntegerPropertyValidator
java.lang.Object
org.datanucleus.properties.IntegerPropertyValidator
- All Implemented Interfaces:
PropertyValidator
Validator for a property that represents an integer.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntegerPropertyValidator
public IntegerPropertyValidator()
-
-
Method Details
-
validate
Method to validate the property, allowing only Integer or String(with Integer values).- Specified by:
validate
in interfacePropertyValidator
- Parameters:
name
- Name of propertyvalue
- Value of property- Returns:
- Whether it is valid
-