eb88230cc45bd402a24a096913a549b6f2e0d0bb
[aai/aai-common.git] / aai-annotations / src / main / java / org / onap / aai / annotations / Metadata.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.aai.annotations;
22
23 import static java.lang.annotation.RetentionPolicy.RUNTIME;
24
25 import java.lang.annotation.ElementType;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
28
29 @Retention(RUNTIME)
30 @Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD})
31 public @interface Metadata {
32
33     boolean isKey() default false;
34
35     String description() default "";
36
37     String nameProps() default "";
38
39     String indexedProps() default "";
40
41     String dependentOn() default "";
42
43     String container() default "";
44
45     String namespace() default "";
46
47     String defaultValue() default "";
48
49     String searchable() default "";
50
51     String uniqueProps() default "";
52
53     String requiredProps() default "";
54
55     String uriTemplate() default "";
56
57     String extendsFrom() default "";
58
59     String isAbstract() default "";
60
61     String alternateKeys1() default "";
62
63     String maximumDepth() default "";
64
65     String crossEntityReference() default "";
66
67     String requires() default "";
68
69     String dbAlias() default "";
70
71     String dataLocation() default "";
72
73     String containsSuggestibleProps() default "";
74
75     String suggestionAliases() default "";
76
77     String sourceOfTruthType() default "";
78
79 }