| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||
| AssertNoOrphans |
|
| 0.0;0 |
| 1 | package org.trails.validation; |
|
| 2 | ||
| 3 | import java.lang.annotation.ElementType; |
|
| 4 | import java.lang.annotation.Inherited; |
|
| 5 | import java.lang.annotation.Retention; |
|
| 6 | import java.lang.annotation.RetentionPolicy; |
|
| 7 | import java.lang.annotation.Target; |
|
| 8 | ||
| 9 | @Retention(RetentionPolicy.RUNTIME) |
|
| 10 | @Target(ElementType.TYPE) |
|
| 11 | @Inherited |
|
| 12 | public @interface AssertNoOrphans |
|
| 13 | { |
|
| 14 | // we can't default this to null, which sucks! |
|
| 15 | ||
| 16 | Class value() default Object.class; |
|
| 17 | ||
| 18 | String childrenProperty() default ""; |
|
| 19 | ||
| 20 | String message() default ""; |
|
| 21 | } |