Update license files, sonar plugin and fix tests
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / domain / model / AAIResourceKey.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.domain.model;
22
23 import com.google.common.base.CaseFormat;
24
25 public class AAIResourceKey {
26         private String keyName;
27         private String keyType;
28         private String pathParamName;
29         private String dnCamKeyName;
30         
31         /**
32          * Gets the key name.
33          *
34          * @return the key name
35          */
36         public String getKeyName() {
37                 return keyName;
38         }
39         
40         /**
41          * Sets the key name.
42          *
43          * @param keyName the new key name
44          */
45         public void setKeyName(String keyName) {
46                 this.keyName = keyName;
47         }
48         
49         /**
50          * Gets the key type.
51          *
52          * @return the key type
53          */
54         public String getKeyType() {
55                 return keyType;
56         }
57         
58         /**
59          * Sets the key type.
60          *
61          * @param t the new key type
62          */
63         public void setKeyType(String t) {
64                 this.keyType = t;
65         }
66         
67         /**
68          * Gets the path param name.
69          *
70          * @return the path param name
71          */
72         public String getPathParamName() {
73                 return pathParamName;
74         }
75         
76         /**
77          * Sets the path param name.
78          *
79          * @param pathParamName the new path param name
80          */
81         public void setPathParamName(String pathParamName) {
82                 this.pathParamName = pathParamName;
83         }
84         
85         /**
86          * Gets the dn cam key name.
87          *
88          * @return the dn cam key name
89          */
90         public String getDnCamKeyName() {
91                 return dnCamKeyName;
92         }
93         
94         /**
95          * Sets the dn cam key name.
96          *
97          * @param dnCamKeyName the new dn cam key name
98          */
99         public void setDnCamKeyName(String dnCamKeyName) {
100                 this.dnCamKeyName = dnCamKeyName;
101         }
102         
103 }