KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > validator > PersistentClassConstraint


1 //$Id: PersistentClassConstraint.java,v 1.1 2005/05/27 08:58:54 epbernard Exp $
2
package org.hibernate.validator;
3
4 import org.hibernate.mapping.PersistentClass;
5
6 /**
7  * Interface implemented by the validator
8  * when a constraint may be represented in the
9  * hibernate metadata
10  *
11  * @author Gavin King
12  */

13 public interface PersistentClassConstraint {
14     /**
15      * Apply the constraint in the hibernate metadata
16      * @param persistentClass
17      */

18     public void apply(PersistentClass persistentClass);
19 }
20
Popular Tags