90c6e280aa2762093a71532e49677f32e1db8771
[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
21 package org.onap.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 = {"aaiResponseMessageDatumKey", "aaiResponseMessageDatumValue",
31
32 })
33
34 @XmlRootElement(name = "aai-response-message-datum", namespace = "http://org.onap.aai.inventory")
35 public class AAIResponseMessageDatum {
36
37     @XmlElement(name = "aai-response-message-datum-key", required = true)
38     protected String aaiResponseMessageDatumKey;
39     @XmlElement(name = "aai-response-message-datum-value", required = true)
40     protected String aaiResponseMessageDatumValue;
41
42     /**
43      * Gets the aai response message datum key.
44      *
45      * @return the aai response message datum key
46      */
47     public String getAaiResponseMessageDatumKey() {
48         return aaiResponseMessageDatumKey;
49     }
50
51     /**
52      * Sets the aai response message datum key.
53      *
54      * @param aaiResponseMessageDatumKey the new aai response message datum key
55      */
56     public void setAaiResponseMessageDatumKey(String aaiResponseMessageDatumKey) {
57         this.aaiResponseMessageDatumKey = aaiResponseMessageDatumKey;
58     }
59
60     /**
61      * Gets the aai response message datum value.
62      *
63      * @return the aai response message datum value
64      */
65     public String getAaiResponseMessageDatumValue() {
66         return aaiResponseMessageDatumValue;
67     }
68
69     /**
70      * Sets the aai response message datum value.
71      *
72      * @param aaiResponseMessageDatumValue the new aai response message datum value
73      */
74     public void setAaiResponseMessageDatumValue(String aaiResponseMessageDatumValue) {
75         this.aaiResponseMessageDatumValue = aaiResponseMessageDatumValue;
76     }
77
78 }