Class LogRecordRequestBody

    • Constructor Detail

      • LogRecordRequestBody

        public LogRecordRequestBody()
        Default constructor
      • LogRecordRequestBody

        public LogRecordRequestBody​(LogRecordRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getConnectorInstanceId

        public String getConnectorInstanceId()
        Return the instance id of the connector making the log record.
        Returns:
        unique instance id
      • setConnectorInstanceId

        public void setConnectorInstanceId​(String connectorInstanceId)
        Set up the instance id of the connector making the log record.
        Parameters:
        connectorInstanceId - unique instance id
      • getConnectionName

        public String getConnectionName()
        Return the name of the connection used to create the connector making the log request.
        Returns:
        connection name
      • setConnectionName

        public void setConnectionName​(String connectionName)
        Set up the name of the connection used to create the connector making the log request.
        Parameters:
        connectionName - connection name
      • getConnectorType

        public String getConnectorType()
        Return the type of connector making the log record.
        Returns:
        connector type
      • setConnectorType

        public void setConnectorType​(String connectorType)
        Set up the type of connector making the log record.
        Parameters:
        connectorType - connector type
      • getContextId

        public String getContextId()
        Return the function name, or processId of the activity that the caller is performing.
        Returns:
        context id
      • setContextId

        public void setContextId​(String contextId)
        Set up the function name, or processId of the activity that the caller is performing.
        Parameters:
        contextId - context id
      • getMessage

        public String getMessage()
        Return the actual log message.
        Returns:
        text
      • setMessage

        public void setMessage​(String message)
        Set up the actual log message.
        Parameters:
        message - text
      • equals

        public boolean equals​(Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code