|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.nms.eventui.DEvent
public class DEvent
An event class for display events
| Field Summary | |
|---|---|
java.lang.String |
category
|
long |
date
|
static long |
dateDiff
|
java.lang.String |
domain
|
java.lang.String |
entity
|
java.lang.String |
groupName
|
java.lang.String |
helpURL
|
int |
id
|
java.lang.String |
network
|
java.lang.String |
node
|
java.lang.String |
ownerName
|
int |
severity
|
java.lang.String |
source
|
java.lang.String |
text
|
java.util.Properties |
userProperties
|
| Constructor Summary | |
|---|---|
DEvent()
|
|
DEvent(java.util.Properties prop)
|
|
| Method Summary | |
|---|---|
java.lang.String |
dateString()
To get a printable date |
static java.lang.String |
dateString(long dat)
Returns the string reprsentation of the date in the NMS format. |
static java.lang.String |
dateString(long dat,
java.lang.String format)
Returns the string reprsentation of the date in the format specified by the parameter "format" |
static java.lang.String |
dateString(java.lang.String timeInLong)
Returns the string reprsentation of the date in the NMS format. |
static java.lang.String |
dateString(java.lang.String timeInLong,
java.lang.String format)
Returns the string reprsentation of the date in the format specified by the parameter "format" |
java.awt.Color |
getColor()
|
static java.lang.Integer |
getColumnType(java.lang.String columnName)
|
static long |
getParsedTime(java.util.Date dt)
To parse a date string |
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty(java.lang.String propName)
|
void |
setProperties(java.util.Properties p)
|
static int |
severityInt(java.lang.String s)
|
java.lang.String |
severityStr()
|
static java.lang.String |
severityStr(int sev)
|
java.util.Properties |
toExportProperties(java.util.Vector fieldsVect)
|
java.lang.String |
toPrintString()
|
java.lang.String |
toPrintString(java.util.Vector fieldsVect)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int severity
public java.lang.String source
public java.lang.String helpURL
public long date
public java.lang.String text
public int id
public java.lang.String category
public java.lang.String domain
public java.lang.String network
public java.lang.String node
public java.lang.String entity
public java.lang.String groupName
public java.lang.String ownerName
public java.util.Properties userProperties
public static long dateDiff
| Constructor Detail |
|---|
public DEvent()
public DEvent(java.util.Properties prop)
| Method Detail |
|---|
public void setProperties(java.util.Properties p)
public static java.lang.String severityStr(int sev)
public static int severityInt(java.lang.String s)
public java.lang.String severityStr()
public java.awt.Color getColor()
public java.lang.String dateString()
public static java.lang.String dateString(long dat)
dat - The long value which is to be converted into date string.
public static java.lang.String dateString(long dat,
java.lang.String format)
dat - The long value which is to be converted into date string.format - The format in which the date string should be returned.
public static java.lang.String dateString(java.lang.String timeInLong)
dat - The long value in string which is to be converted into date string.
public static java.lang.String dateString(java.lang.String timeInLong,
java.lang.String format)
dat - The long value in string which is to be converted into date string.format - The format in which the date string should be returned.
public static long getParsedTime(java.util.Date dt)
public java.lang.String toPrintString()
public java.lang.String toPrintString(java.util.Vector fieldsVect)
public java.util.Properties toExportProperties(java.util.Vector fieldsVect)
public java.lang.String getProperty(java.lang.String propName)
public java.util.Properties getProperties()
public static java.lang.Integer getColumnType(java.lang.String columnName)
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||