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