1 /*******************************************************************************
2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
20 *******************************************************************************/
22 package org.onap.dcaegen2.services.sonhms;
24 public class FaultFields {
27 public String toString() {
28 return "FaultFields [faultFieldsVersion=" + faultFieldsVersion + ", alarmCondition=" + alarmCondition
29 + ", eventSourceType=" + eventSourceType + ", specificProblem=" + specificProblem + ", eventSeverity="
30 + eventSeverity + ", vfStatus=" + vfStatus + ", alarmAdditionalInformation="
31 + alarmAdditionalInformation + "]";
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;
43 public AlarmAdditionalInformation getAlarmAdditionalInformation() {
44 return alarmAdditionalInformation;
47 public void setAlarmAdditionalInformation(AlarmAdditionalInformation alarmAdditionalInformation) {
48 this.alarmAdditionalInformation = alarmAdditionalInformation;
51 public double getFaultFieldsVersion() {
52 return faultFieldsVersion;
55 public void setFaultFieldsVersion(double faultFieldsVersion) {
56 this.faultFieldsVersion = faultFieldsVersion;
59 public String getAlarmCondition() {
60 return alarmCondition;
63 public void setAlarmCondition(String alarmCondition) {
64 this.alarmCondition = alarmCondition;
67 public String getEventSourceType() {
68 return eventSourceType;
71 public void setEventSourceType(String eventSourceType) {
72 this.eventSourceType = eventSourceType;
75 public String getSpecificProblem() {
76 return specificProblem;
79 public void setSpecificProblem(String specificProblem) {
80 this.specificProblem = specificProblem;
83 public String getEventSeverity() {
87 public void setEventSeverity(String eventSeverity) {
88 this.eventSeverity = eventSeverity;
91 public String getVfStatus() {
95 public void setVfStatus(String vfStatus) {
96 this.vfStatus = vfStatus;