Class CommandProperty

  • java.lang.Object

  • public class CommandProperty
    extends java.lang.Object
    This is a representation of a WebSphere Commerce server command. It is comprised of three parts: the command name, the execution properties and the request properties. The command name is the name of the command that gets executed. The execution properties include the environment variables for executing the command. The request properties are the parameters passed to the command when it is executing.
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CommandProperty

        public CommandProperty()
        This is the default constructor for this class. It calls the constructor from the superclass & then initializes the instance variables.
    • Method Detail

      • getCommandName

        public java.lang.String getCommandName()
        This method returns the command name.
        The name of the command to execute.
      • getExecutionProperties

        public TypedProperty getExecutionProperties()
        This method returns the execution properties.
        The execution properties that indicate how to execute the command. Different session context implementations look for different values stored in the execution properties.
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request properties.
        The request properties to pass to the command when it is executed.
      • setCommandName

        public void setCommandName(java.lang.String newCommandName)
        This method sets the command name.
        newCommandName - The name of the command to execute.
      • setExecutionProperties

        public void setExecutionProperties(TypedProperty newExecutionProperties)
        This method sets the execution properties.
        newMessageProperty - The execution properties for executing the command.
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        This method sets the request properties.
        newCommandProperty - The request properties for executing the command.
      • toString

        public java.lang.String toString()
        This method overrides the toString() method to return a String representation of this object.
        toString in class java.lang.Object
        The string representation of this object.