1d2c2dcb5651332f12be7e2f8f00efe72b44d815
[ccsdk/features.git] /
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : ccsdk feature sdnr wt
4  * =================================================================================================
5  * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property. All rights reserved.
6  * =================================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
8  * in compliance with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software distributed under the License
13  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14  * or implied. See the License for the specific language governing permissions and limitations under
15  * the License.
16  * ============LICENSE_END==========================================================================
17  */
18 package org.onap.ccsdk.features.sdnr.wt.mountpointstateprovider.impl;
19
20 import com.fasterxml.jackson.annotation.JsonIgnore;
21 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
22 import java.util.ArrayList;
23 import java.util.HashMap;
24 import java.util.List;
25 import java.util.Map;
26
27 @JsonPropertyOrder({"arrayOfNamedHashMap", "changeContact", "changeIdentifier", "changeType", "newState", "oldState", "notificationFieldsVersion"})
28 public class VESNotificationFieldsPOJO {
29
30     private List<HashMap<String, Object>> arrayOfNamedHashMap = new ArrayList<>();
31     @JsonIgnore
32     private Map<String, Object> namedHashMap = new HashMap<>();
33     @JsonIgnore
34     private Map<String, String> hashMap = new HashMap<>();
35     @JsonIgnore
36     private String changeContact = "";
37     private String changeIdentifier = "";
38     private String changeType = "";
39     //@JsonIgnore
40     private String newState = "";
41     @JsonIgnore
42     private String oldState = "";
43     @JsonIgnore
44     private String stateInterface = "";
45     private String notificationFieldsVersion = "2.0";
46
47     public List<HashMap<String, Object>> getArrayOfNamedHashMap() {
48         return arrayOfNamedHashMap;
49     }
50
51     public void setArrayOfNamedHashMap(List<HashMap<String, Object>> arrayOfNamedHashMap) {
52         this.arrayOfNamedHashMap = arrayOfNamedHashMap;
53     }
54
55     public String getChangeContact() {
56         return changeContact;
57     }
58
59     public void setChangeContact(String changeContact) {
60         this.changeContact = changeContact;
61     }
62
63     public String getChangeIdentifier() {
64         return changeIdentifier;
65     }
66
67     public void setChangeIdentifier(String changeIdentifier) {
68         this.changeIdentifier = changeIdentifier;
69     }
70
71     public String getChangeType() {
72         return changeType;
73     }
74
75     public void setChangeType(String changeType) {
76         this.changeType = changeType;
77     }
78
79     public String getNewState() {
80         return newState;
81     }
82
83     public void setNewState(String newState) {
84         this.newState = newState;
85     }
86
87     public String getOldState() {
88         return oldState;
89     }
90
91     public void setOldState(String oldState) {
92         this.oldState = oldState;
93     }
94
95     public String getStateInterface() {
96         return stateInterface;
97     }
98
99     public void setStateInterface(String stateInterface) {
100         this.stateInterface = stateInterface;
101     }
102
103     public String getNotificationFieldsVersion() {
104         return notificationFieldsVersion;
105     }
106
107     public void setNotificationFieldsVersion(String notificationFieldsVersion) {
108         this.notificationFieldsVersion = notificationFieldsVersion;
109     }
110 }