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