Package com.adobe.xfa
Class LogMessageData
- java.lang.Object
-
- com.adobe.xfa.LogMessageData
-
public final class LogMessageData extends java.lang.ObjectClass XFALogMessageData represents message data. Members of this class consist of a unique message Id, a message severity, a date time stamp and text.
-
-
Constructor Summary
Constructors Constructor Description LogMessageData(int nId, java.lang.String sText, int eSeverity, ISODate pDate, ISOTime pTime, java.lang.String sSOM)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDateTime()Retrieve the date and time of the message.intgetId()Retrieve the message Id.intgetSeverity()Retrieve the severity of the message.java.lang.StringgetSeverityName()Retrieve the severity name of the message.java.lang.StringgetSOMExpression()Retrieve the SOM expression.java.lang.StringgetText()Retrieve the message text.voidsetSeverity(int eSeverity)Set the severity of the message.
-
-
-
Constructor Detail
-
LogMessageData
public LogMessageData(int nId, java.lang.String sText, int eSeverity, ISODate pDate, ISOTime pTime, java.lang.String sSOM)Constructor- Parameters:
nId- - the message IdsText- - the message texteSeverity- - the message severitypDate- - the message datepTime- - the message timesSOM- - the SOM expression for the node causing the message
-
-
Method Detail
-
getDateTime
public java.lang.String getDateTime()
Retrieve the date and time of the message.
uses ISO standard 8601 date and time format YYYY-MM-DDTHH:MM:SS.FFF Z- Returns:
- date and time of the message.
-
getId
public int getId()
Retrieve the message Id.- Returns:
- message Id
-
getSeverity
public int getSeverity()
Retrieve the severity of the message.- Returns:
- severity of the message.
-
getSeverityName
public java.lang.String getSeverityName()
Retrieve the severity name of the message.- Returns:
- severity of the message.
-
getSOMExpression
public java.lang.String getSOMExpression()
Retrieve the SOM expression.- Returns:
- string representing the SOM expression for the node that caused the message.
-
getText
public java.lang.String getText()
Retrieve the message text.- Returns:
- string representing the message text.
-
setSeverity
public void setSeverity(int eSeverity)
Set the severity of the message.- Parameters:
eSeverity- - the value of the severity
-
-