org.datanucleus.properties
Interface PersistencePropertyValidator

All Known Implementing Classes:
BooleanPropertyValidator, CorePropertyValidator, IntegerPropertyValidator, StringPropertyValidator

public interface PersistencePropertyValidator

Interface defining a validator for a persistence property.

Version:
$Revision$

Method Summary
 boolean validate(java.lang.String name, java.lang.Object value)
          Method to validate the value of this property.
 

Method Detail

validate

boolean validate(java.lang.String name,
                 java.lang.Object value)
Method to validate the value of this property.

Parameters:
name - Name of the property
value - The value
Returns:
Whether it is valid


Copyright © 2011. All Rights Reserved.