1 /*******************************************************************************
2 * ============LICENSE_START========================================================================
3 * ONAP : ccsdk feature sdnr wt
4 * =================================================================================================
5 * Copyright (C) 2019 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
10 * http://www.apache.org/licenses/LICENSE-2.0
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
16 * ============LICENSE_END==========================================================================
17 ******************************************************************************/
18 package org.onap.ccsdk.features.sdnr.wt.devicemanager.performancemanager.impl.database.types;
20 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.database.EsObject;
24 * Event from Network to be recorded in the database
28 public class EsHistoricalPerformanceLogEntry extends EsObject {
30 public static final String ESDATATYPENAME = "performancelog";
32 private String mountpoint;
33 private String interfaceIdx;
34 private String timeStamp;
35 private String logText;
38 * Create Log entry for NE/Interfaceproblems during PM execution
39 * @param mountpoint Name of
40 * @param interfaceIdx Name of
41 * @param timeStamp Time and date of occurence
42 * @param logText to write
44 public EsHistoricalPerformanceLogEntry(String mountpoint, String interfaceIdx, String timeStamp, String logText) {
46 this.mountpoint = mountpoint;
47 this.interfaceIdx = interfaceIdx;
48 this.timeStamp = timeStamp;
49 this.logText = logText;
55 EsHistoricalPerformanceLogEntry() {
59 * @return the mountpoint
61 public String getMountpoint() {
66 * @return the interfaceIdx
68 public String getInterfaceIdx() {
73 * @return the timeStamp
75 public String getTimeStamp() {
82 public String getLogText() {
88 public static String getEsdatatypename() {
89 return ESDATATYPENAME;