Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / impl / src / main / java / org / opendaylight / mwtn / performancemanager / impl / database / types / EsHistoricalPerformanceLogEntry.java
1 package org.opendaylight.mwtn.performancemanager.impl.database.types;
2
3 import org.opendaylight.mwtn.base.database.EsObject;
4
5 /**
6  *
7  * Event from Network to be recorded in the database
8  *
9  */
10
11 public class EsHistoricalPerformanceLogEntry extends EsObject {
12
13     public static final String ESDATATYPENAME = "performancelog";
14
15     private String mountpoint;
16     private String interfaceIdx;
17     private String timeStamp;
18     private String logText;
19
20     /**
21      * Create Log entry for NE/Interfaceproblems during PM execution
22      * @param mountpoint Name of
23      * @param interfaceIdx Name of
24      * @param timeStamp Time and date of occurence
25      * @param logText to write
26      */
27     public EsHistoricalPerformanceLogEntry(String mountpoint, String interfaceIdx, String timeStamp, String logText) {
28         super();
29         this.mountpoint = mountpoint;
30         this.interfaceIdx = interfaceIdx;
31         this.timeStamp = timeStamp;
32         this.logText = logText;
33     }
34
35     /**
36      * For jackson purpose
37      */
38     EsHistoricalPerformanceLogEntry() {
39     }
40
41     /**
42      * @return the mountpoint
43      */
44     public String getMountpoint() {
45         return mountpoint;
46     }
47
48     /**
49      * @return the interfaceIdx
50      */
51     public String getInterfaceIdx() {
52         return interfaceIdx;
53     }
54
55     /**
56      * @return the timeStamp
57      */
58     public String getTimeStamp() {
59         return timeStamp;
60     }
61
62     /**
63      * @return the logText
64      */
65     public String getLogText() {
66         return logText;
67     }
68
69
70
71     public static String getEsdatatypename() {
72         return ESDATATYPENAME;
73     }
74
75  }