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