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