Initial commit with all the necessary files
[aai/aai-common.git] / aai-annotations / src / main / java / org / openecomp / aai / annotations / Metadata.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * org.openecomp.aai
4  * ================================================================================
5  * Copyright (C) 2017 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.openecomp.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         String description() default "";
35         String nameProps() default "";
36         String indexedProps() default "";
37         String dependentOn() default "";
38         String container() default "";
39         String namespace() default "";
40         String defaultValue() default "";
41         String searchable() default "";
42         String uniqueProps() default "";
43         String extendsFrom() default "";
44         String isAbstract() default "";
45         String alternateKeys1() default "";
46         String maximumDepth() default "";
47         String crossEntityReference() default "";
48         String dbAlias() default ""; 
49         String dataLocation() default "";
50         String containsSuggestibleProps() default "";
51         String suggestionAliases() default "";
52         String sourceOfTruthType() default "";
53
54 }