Sonar Critical Fix
[dcaegen2/analytics/tca.git] / dcae-analytics-model / src / main / java / org / onap / dcae / apod / analytics / model / domain / cef / Event.java
1 /*
2  * ============LICENSE_START=========================================================
3  * dcae-analytics
4  * ================================================================================
5  *  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
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 package org.onap.dcae.apod.analytics.model.domain.cef;
22
23 import lombok.Data;
24 import lombok.EqualsAndHashCode;
25
26 /**
27  * Generic Event Format
28  * <p>
29  * @author Rajiv Singla. Creation Date: 08/15/2017.
30  */
31 @Data
32 @EqualsAndHashCode(callSuper = true)
33 public class Event extends BaseCEFModel {
34
35
36     private static final long serialVersionUID = 1L;
37
38     /**
39      * Fields common to all Events
40      *
41      * @param commonEventHeader New value for common Event Header
42      * @return Fields common to all Events
43      */
44     private CommonEventHeader commonEventHeader;
45
46     /**
47      * Measurements for Vf scaling fields
48      *
49      * @param measurementsForVfScalingFields New value for MeasurementsForVfScaling
50      * @return MeasurementsForVfScaling fields
51      */
52     private MeasurementsForVfScalingFields measurementsForVfScalingFields;
53
54     /**
55      * Threshold crossing alert Fields.
56      *
57      * @param thresholdCrossingAlertFields New value for Threshold crossing Fields
58      * @return Threshold crossing Fields
59      */
60     private ThresholdCrossingAlertFields thresholdCrossingAlertFields;
61 }