Package com.adobe.xfa

Class LogMessageData


  • public final class LogMessageData
    extends Object
    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 Detail

      • LogMessageData

        public LogMessageData​(int nId,
                              String sText,
                              int eSeverity,
                              ISODate pDate,
                              ISOTime pTime,
                              String sSOM)
        Constructor
        Parameters:
        nId - - the message Id
        sText - - the message text
        eSeverity - - the message severity
        pDate - - the message date
        pTime - - the message time
        sSOM - - the SOM expression for the node causing the message
    • Method Detail

      • getDateTime

        public 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 String getSeverityName()
        Retrieve the severity name of the message.
        Returns:
        severity of the message.
      • getSOMExpression

        public String getSOMExpression()
        Retrieve the SOM expression.
        Returns:
        string representing the SOM expression for the node that caused the message.
      • getText

        public 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