net.sf.beanform.integration
Class HibernateIntegrator
java.lang.Object
net.sf.beanform.integration.HibernateIntegrator
- All Implemented Interfaces:
- Integrator
public class HibernateIntegrator
- extends Object
- implements Integrator
Provides integration with Hibernate Validator annotations.
Hibernate Validator annotations that are ignored:
- Size
- AssertFalse
- AssertTrue
- Valid
- Author:
- Daniel Gredler
- See Also:
http://www.hibernate.org/hib_docs/annotations/reference/en/html/validator.html
,
http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/api/org/hibernate/validator/package-summary.html
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LENGTH_MAX_DEFAULT
public static final int LENGTH_MAX_DEFAULT
- See Also:
- Constant Field Values
LENGTH_MIN_DEFAULT
public static final int LENGTH_MIN_DEFAULT
- See Also:
- Constant Field Values
HibernateIntegrator
public HibernateIntegrator()
getValidation
public SortedMap<String,String> getValidation(BeanProperty prop)
- Specified by:
getValidation
in interface Integrator
getMaxLength
public Integer getMaxLength(BeanProperty prop)
- Specified by:
getMaxLength
in interface Integrator
isNullable
public boolean isNullable(BeanProperty prop)
- Specified by:
isNullable
in interface Integrator
Copyright © 2005-2008 SourceForge.net. All Rights Reserved.