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