org.datanucleus.jpa
Class JPAPropertyValidator

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

public class JPAPropertyValidator
extends java.lang.Object
implements org.datanucleus.properties.PersistencePropertyValidator

Validator for persistence properties used by JPA.


Constructor Summary
JPAPropertyValidator()
           
 
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

JPAPropertyValidator

public JPAPropertyValidator()
Method Detail

validate

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

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


Copyright © 2011. All Rights Reserved.