Destructor

The Destructor for the Message class is:

  • ~Message();

The following table summarizes the functions each method performs in the Message class.

Table 1. Message Methods Summary

Method

Function

getContext

Gets the value of the context entity identified by the name in the context session of the message.

getContext

Gets the Map that contains all of the context entries.

putContext

Sets the value of the context entity identified by the name in the context session of the message. If there is an existing value present for the entity identified by the name, it is replaced.

putContext

Adds the new context properties to the current context properties.

setContext

Overwrites the current context properties with the new context properties.

getOption

Gets the value of the option entity identified by the name in the option session of the message.

getOptions

Gets the Map that contains all of the option entries.

putOption

Sets the value of the option entity identified by the name in the option session of the message. If there is an existing value present for the entity identified by the name, it is replaced.

putOptions

Adds the new option properties to the current option properties.

setOptions

Overwrites the current option properties with the new option properties.

getError

Gets the error message.

getDataTable

Gets the DataTable from the message.