The CommandProperty object is a representative of a controller command. The object contains the command name to be executed, the command properties when executing the command, and the parameters of the command. The purpose of the message mappers is to convert inbound request messages into controller commands to be executed by an adapter. Although they can be used by all components of WebSphere Commerce to map data into a extended TypedProperty object, the main purpose for message mappers is converting XML objects into common Java objects that represents controller commands.
The CommandProperty datatype is composed of the following three parts:
- commandName: the name of the command to be executed, in the form of a string.
- requestProperties: the command properties when executing the command, in the form of a TypedProperty object.
- executionProperties: the control data for executing the command in the form of a TypedProperty object.