public class IntegerPropertyValidator extends Object implements PersistencePropertyValidator
Constructor and Description |
---|
IntegerPropertyValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(String name,
Object value)
Method to validate the property, allowing only Integer or String(with Integer values).
|
public boolean validate(String name, Object value)
validate
in interface PersistencePropertyValidator
name
- Name of propertyvalue
- Value of propertyCopyright © 2019. All rights reserved.