1963cd6cae85cb2e01f492f02de1d7709f1313fd
[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
25 @JsonPropertyOrder({"arrayOfNamedHashMap", "changeContact", "changeIdentifier", "changeType", "newState", "oldState", "notificationFieldsVersion"})
26 public class VESNotificationFieldsPOJO {
27
28     private ArrayList<HashMap<String, Object>> arrayOfNamedHashMap = new ArrayList<HashMap<String, Object>>();
29     @JsonIgnore
30     private HashMap<String, Object> namedHashMap = new HashMap<String, Object>();
31     @JsonIgnore
32     private HashMap<String, String> hashMap = new HashMap<String, String>();
33     @JsonIgnore
34     private String changeContact = "";
35     private String changeIdentifier = "";
36     private String changeType = "";
37     //@JsonIgnore
38     private String newState = "";
39     @JsonIgnore
40     private String oldState = "";
41     @JsonIgnore
42     private String stateInterface = "";
43     private String notificationFieldsVersion = "2.0";
44
45     public ArrayList<HashMap<String, Object>> getArrayOfNamedHashMap() {
46         return arrayOfNamedHashMap;
47     }
48
49     public void setArrayOfNamedHashMap(ArrayList<HashMap<String, Object>> arrayOfNamedHashMap) {
50         this.arrayOfNamedHashMap = arrayOfNamedHashMap;
51     }
52
53     public String getChangeContact() {
54         return changeContact;
55     }
56
57     public void setChangeContact(String changeContact) {
58         this.changeContact = changeContact;
59     }
60
61     public String getChangeIdentifier() {
62         return changeIdentifier;
63     }
64
65     public void setChangeIdentifier(String changeIdentifier) {
66         this.changeIdentifier = changeIdentifier;
67     }
68
69     public String getChangeType() {
70         return changeType;
71     }
72
73     public void setChangeType(String changeType) {
74         this.changeType = changeType;
75     }
76
77     public String getNewState() {
78         return newState;
79     }
80
81     public void setNewState(String newState) {
82         this.newState = newState;
83     }
84
85     public String getOldState() {
86         return oldState;
87     }
88
89     public void setOldState(String oldState) {
90         this.oldState = oldState;
91     }
92
93     public String getStateInterface() {
94         return stateInterface;
95     }
96
97     public void setStateInterface(String stateInterface) {
98         this.stateInterface = stateInterface;
99     }
100
101     public String getNotificationFieldsVersion() {
102         return notificationFieldsVersion;
103     }
104
105     public void setNotificationFieldsVersion(String notificationFieldsVersion) {
106         this.notificationFieldsVersion = notificationFieldsVersion;
107     }
108 }