Fix bugs and formatting issues
[dcaegen2/services/son-handler.git] / src / main / java / org / onap / dcaegen2 / services / sonhms / FaultFields.java
1 /*******************************************************************************
2  *  ============LICENSE_START=======================================================
3  *  son-handler
4  *  ================================================================================
5  *   Copyright (C) 2019 Wipro Limited.
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
22 package org.onap.dcaegen2.services.sonhms;
23
24 public class FaultFields {
25
26         @Override
27     public String toString() {
28         return "FaultFields [faultFieldsVersion=" + faultFieldsVersion + ", alarmCondition=" + alarmCondition
29                 + ", eventSourceType=" + eventSourceType + ", specificProblem=" + specificProblem + ", eventSeverity="
30                 + eventSeverity + ", vfStatus=" + vfStatus + ", alarmAdditionalInformation="
31                 + alarmAdditionalInformation + "]";
32     }
33
34     private double faultFieldsVersion;
35         private String alarmCondition;
36         private String eventSourceType;
37         private String specificProblem;
38         private String eventSeverity;
39         private String vfStatus;
40         private AlarmAdditionalInformation alarmAdditionalInformation;
41         
42
43     public AlarmAdditionalInformation getAlarmAdditionalInformation() {
44         return alarmAdditionalInformation;
45     }
46
47     public void setAlarmAdditionalInformation(AlarmAdditionalInformation alarmAdditionalInformation) {
48         this.alarmAdditionalInformation = alarmAdditionalInformation;
49     }
50
51     public double getFaultFieldsVersion() {
52                 return faultFieldsVersion;
53         }
54
55         public void setFaultFieldsVersion(double faultFieldsVersion) {
56                 this.faultFieldsVersion = faultFieldsVersion;
57         }
58
59         public String getAlarmCondition() {
60                 return alarmCondition;
61         }
62
63         public void setAlarmCondition(String alarmCondition) {
64                 this.alarmCondition = alarmCondition;
65         }
66
67         public String getEventSourceType() {
68                 return eventSourceType;
69         }
70
71         public void setEventSourceType(String eventSourceType) {
72                 this.eventSourceType = eventSourceType;
73         }
74
75         public String getSpecificProblem() {
76                 return specificProblem;
77         }
78
79         public void setSpecificProblem(String specificProblem) {
80                 this.specificProblem = specificProblem;
81         }
82
83         public String getEventSeverity() {
84                 return eventSeverity;
85         }
86
87         public void setEventSeverity(String eventSeverity) {
88                 this.eventSeverity = eventSeverity;
89         }
90
91         public String getVfStatus() {
92                 return vfStatus;
93         }
94
95         public void setVfStatus(String vfStatus) {
96                 this.vfStatus = vfStatus;
97         }
98
99 }