org.apache.cayenne.annotations.validators
Class CayenneConfigurer

java.lang.Object
  extended by org.apache.cayenne.annotations.validators.CayenneConfigurer
All Implemented Interfaces:
net.sf.oval.configuration.Configurer

public class CayenneConfigurer
extends java.lang.Object
implements net.sf.oval.configuration.Configurer

Constraints configurer to map and configure Cayenne validation annotations to OVal ones

Author:
Steve Wells

Field Summary
static java.lang.String EMAIL_PATTERN
           
 
Constructor Summary
CayenneConfigurer()
           
 
Method Summary
 net.sf.oval.configuration.elements.ClassConfiguration getClassConfiguration(java.lang.Class<?> clazz)
           
 net.sf.oval.configuration.elements.ConstraintSetConfiguration getConstraintSetConfiguration(java.lang.String constraintSetId)
           
 java.lang.Boolean isApplyFieldConstraintsToSetter()
           
 void setApplyFieldConstraintsToSetter(java.lang.Boolean applyFieldConstraintsToSetter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMAIL_PATTERN

public static final java.lang.String EMAIL_PATTERN
See Also:
Constant Field Values
Constructor Detail

CayenneConfigurer

public CayenneConfigurer()
Method Detail

getClassConfiguration

public net.sf.oval.configuration.elements.ClassConfiguration getClassConfiguration(java.lang.Class<?> clazz)
                                                                            throws net.sf.oval.exceptions.OValException
Specified by:
getClassConfiguration in interface net.sf.oval.configuration.Configurer
Throws:
net.sf.oval.exceptions.OValException

getConstraintSetConfiguration

public net.sf.oval.configuration.elements.ConstraintSetConfiguration getConstraintSetConfiguration(java.lang.String constraintSetId)
                                                                                            throws net.sf.oval.exceptions.OValException
Specified by:
getConstraintSetConfiguration in interface net.sf.oval.configuration.Configurer
Throws:
net.sf.oval.exceptions.OValException

isApplyFieldConstraintsToSetter

public java.lang.Boolean isApplyFieldConstraintsToSetter()
Returns:
the applyFieldConstraintsToSetter

setApplyFieldConstraintsToSetter

public void setApplyFieldConstraintsToSetter(java.lang.Boolean applyFieldConstraintsToSetter)
Parameters:
applyFieldConstraintsToSetter - the applyFieldConstraintsToSetter to set


Copyright © 2007. All Rights Reserved.