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