org.datanucleus.properties
Class CorePropertyValidator

java.lang.Object
  extended by org.datanucleus.properties.CorePropertyValidator
All Implemented Interfaces:
PersistencePropertyValidator

public class CorePropertyValidator
extends java.lang.Object
implements PersistencePropertyValidator

Validator for persistence properties used by core.


Constructor Summary
CorePropertyValidator()
           
 
Method Summary
 boolean validate(java.lang.String name, java.lang.Object value)
          Validate the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorePropertyValidator

public CorePropertyValidator()
Method Detail

validate

public boolean validate(java.lang.String name,
                        java.lang.Object value)
Validate the specified property.

Specified by:
validate in interface PersistencePropertyValidator
Parameters:
name - Name of the property
value - Value
Returns:
Whether it is valid


Copyright © 2011. All Rights Reserved.