Package com.adobe.xfa

Class LogMessageData


  • public final class LogMessageData
    extends java.lang.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 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.String getDateTime()
      Retrieve the date and time of the message.
      int getId()
      Retrieve the message Id.
      int getSeverity()
      Retrieve the severity of the message.
      java.lang.String getSeverityName()
      Retrieve the severity name of the message.
      java.lang.String getSOMExpression()
      Retrieve the SOM expression.
      java.lang.String getText()
      Retrieve the message text.
      void setSeverity​(int eSeverity)
      Set the severity of the message.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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 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