001 package org.tynamo.hibernate.validation;
002
003 import java.lang.annotation.ElementType;
004 import java.lang.annotation.Inherited;
005 import java.lang.annotation.Retention;
006 import java.lang.annotation.RetentionPolicy;
007 import java.lang.annotation.Target;
008
009 @Retention(RetentionPolicy.RUNTIME)
010 @Target(ElementType.TYPE)
011 @Inherited
012 public @interface AssertNoOrphans {
013 // we can't default this to null, which sucks!
014
015 Class value() default Object.class;
016
017 String childrenProperty() default "";
018
019 String message() default "";
020 }