Update license files, sonar plugin and fix tests
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / domain / responseMessage / AAIResponseMessageDatum.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.responseMessage;
22
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlElement;
26 import javax.xml.bind.annotation.XmlRootElement;
27 import javax.xml.bind.annotation.XmlType;
28
29 @XmlAccessorType(XmlAccessType.FIELD)
30 @XmlType(name = "", propOrder = {
31     "aaiResponseMessageDatumKey",
32     "aaiResponseMessageDatumValue",
33
34 })
35
36 @XmlRootElement(name = "aai-response-message-datum", namespace = "http://org.openecomp.aai.inventory")
37 public class AAIResponseMessageDatum {
38
39     @XmlElement(name = "aai-response-message-datum-key", required = true)
40     protected String aaiResponseMessageDatumKey;
41     @XmlElement(name = "aai-response-message-datum-value", required = true)
42     protected String aaiResponseMessageDatumValue;
43         
44         /**
45          * Gets the aai response message datum key.
46          *
47          * @return the aai response message datum key
48          */
49         public String getAaiResponseMessageDatumKey() {
50                 return aaiResponseMessageDatumKey;
51         }
52         
53         /**
54          * Sets the aai response message datum key.
55          *
56          * @param aaiResponseMessageDatumKey the new aai response message datum key
57          */
58         public void setAaiResponseMessageDatumKey(String aaiResponseMessageDatumKey) {
59                 this.aaiResponseMessageDatumKey = aaiResponseMessageDatumKey;
60         }
61         
62         /**
63          * Gets the aai response message datum value.
64          *
65          * @return the aai response message datum value
66          */
67         public String getAaiResponseMessageDatumValue() {
68                 return aaiResponseMessageDatumValue;
69         }
70         
71         /**
72          * Sets the aai response message datum value.
73          *
74          * @param aaiResponseMessageDatumValue the new aai response message datum value
75          */
76         public void setAaiResponseMessageDatumValue(String aaiResponseMessageDatumValue) {
77                 this.aaiResponseMessageDatumValue = aaiResponseMessageDatumValue;
78         }
79     
80     
81 }