Package com.adobe.xfa
Class LogMessageData
java.lang.Object
com.adobe.xfa.LogMessageData
Class 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
ConstructorsConstructorDescriptionLogMessageData
(int nId, String sText, int eSeverity, ISODate pDate, ISOTime pTime, String sSOM) Constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the date and time of the message.int
getId()
Retrieve the message Id.int
Retrieve the severity of the message.Retrieve the severity name of the message.Retrieve the SOM expression.getText()
Retrieve the message text.void
setSeverity
(int eSeverity) Set the severity of the message.
-
Constructor Details
-
LogMessageData
public LogMessageData(int nId, String sText, int eSeverity, ISODate pDate, ISOTime pTime, 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 Details
-
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
Retrieve the severity name of the message.- Returns:
- severity of the message.
-
getSOMExpression
Retrieve the SOM expression.- Returns:
- string representing the SOM expression for the node that caused the message.
-
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
-