Update license files, sonar plugin and fix tests
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / db / schema / AuditDoc.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.db.schema;
22
23 import java.util.List;
24
25 import org.codehaus.jackson.annotate.JsonProperty;
26
27 public class AuditDoc {
28
29         private List<DBProperty> properties;
30         private List<DBIndex> indexes;
31         private List<EdgeProperty> edgeLabels;
32         
33         /**
34          * Gets the properties.
35          *
36          * @return the properties
37          */
38         public List<DBProperty> getProperties() {
39                 return properties;
40         }
41         
42         /**
43          * Sets the properties.
44          *
45          * @param properties the new properties
46          */
47         public void setProperties(List<DBProperty> properties) {
48                 this.properties = properties;
49         }
50         
51         /**
52          * Gets the indexes.
53          *
54          * @return the indexes
55          */
56         public List<DBIndex> getIndexes() {
57                 return indexes;
58         }
59         
60         /**
61          * Sets the indexes.
62          *
63          * @param indexes the new indexes
64          */
65         public void setIndexes(List<DBIndex> indexes) {
66                 this.indexes = indexes;
67         }
68     
69     /**
70      * Gets the edge labels.
71      *
72      * @return the edge labels
73      */
74     @JsonProperty("edge-labels")
75         public List<EdgeProperty> getEdgeLabels() {
76                 return edgeLabels;
77         }
78         
79         /**
80          * Sets the edge labels.
81          *
82          * @param edgeLabels the new edge labels
83          */
84         public void setEdgeLabels(List<EdgeProperty> edgeLabels) {
85                 this.edgeLabels = edgeLabels;
86         }
87         
88         
89 }