001    package org.trails.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    {
014            // we can't default this to null, which sucks!
015    
016            Class value() default Object.class;
017    
018            String childrenProperty() default "";
019    
020            String message() default "";
021    }