Groovy Documentation

org.codehaus.groovy.grails.orm.hibernate.validation
[Java] Interface PersistentConstraint

org.springframework.context.ApplicationContextAware
  org.codehaus.groovy.grails.validation.Constraint
      org.codehaus.groovy.grails.orm.hibernate.validation.PersistentConstraint
          org.springframework.context.MessageSourceAware
All Superinterfaces:
Constraint, ApplicationContextAware, MessageSourceAware

public interface PersistentConstraint
extends ApplicationContextAware, Constraint

Interface that defines a persistent constraint that evaluates the database.

Authors:
Graeme Rocher
Since:
10-Nov-2005


Method Summary
HibernateTemplate getHibernateTemplate()

Obtains the HibernateTemplate

 
Methods inherited from interface Constraint
getName, getPropertyName, setMessageSource, setOwningClass, setParameter, setPropertyName, supports, validate
 

Method Detail

getHibernateTemplate

public HibernateTemplate getHibernateTemplate()
Obtains the HibernateTemplate
Returns:
The HibernateTemplate instance


 

Groovy Documentation