1
2
3
4
5
6 package gov.nist.secauto.metaschema.databind.model.annotations;
7
8 import static java.lang.annotation.RetentionPolicy.RUNTIME;
9
10 import java.lang.annotation.Documented;
11 import java.lang.annotation.ElementType;
12 import java.lang.annotation.Retention;
13 import java.lang.annotation.Target;
14
15 import edu.umd.cs.findbugs.annotations.NonNull;
16
17 @Documented
18 @Retention(RUNTIME)
19 @Target(ElementType.ANNOTATION_TYPE)
20 public @interface AssemblyConstraints {
21
22
23
24
25
26
27 @NonNull
28 Index[] index() default {};
29
30
31
32
33
34
35
36 @NonNull
37 IsUnique[] unique() default {};
38
39
40
41
42
43
44
45 @NonNull
46 HasCardinality[] cardinality() default {};
47 }