com.ibm.commerce.datatype
Class CommandProperty

java.lang.Object
  |
  +--com.ibm.commerce.datatype.CommandProperty

public class CommandProperty
extends java.lang.Object

CommandProperty is a representation of a WCS command. It is comprised of three parts, the command name, the execution properties and the request properties. The command name of the command that will be executed, the execution properties which indicate the environment variables when executing the command and request properties which is the parameters passed to the command when it is executing.


Constructor Summary
CommandProperty()
          Constructs the PropertyCommand object.
 
Method Summary
 java.lang.String getCommandName()
          Returns the command name.
 TypedProperty getExecutionProperties()
          Returns the execution properties.
 TypedProperty getRequestProperties()
          Returns the request properties.
 void setCommandName(java.lang.String newCommandName)
          Sets the command name.
 void setExecutionProperties(TypedProperty newExecutionProperties)
          Sets the execution properties.
 void setRequestProperties(TypedProperty newRequestProperties)
          Sets the request properties.
 java.lang.String toString()
          Override the toString() method to reflect a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandProperty

public CommandProperty()
Constructs the PropertyCommand object.
Method Detail

getCommandName

public java.lang.String getCommandName()
Returns the command name.
Returns:
java.lang.String

getExecutionProperties

public TypedProperty getExecutionProperties()
Returns the execution properties.
Returns:
com.ibm.commerce.datatype.TypedProperty

getRequestProperties

public TypedProperty getRequestProperties()
Returns the request properties.
Returns:
com.ibm.commerce.datatype.TypedProperty

setCommandName

public void setCommandName(java.lang.String newCommandName)
Sets the command name.
Parameters:
newCommandName - java.lang.String

setExecutionProperties

public void setExecutionProperties(TypedProperty newExecutionProperties)
Sets the execution properties.
Parameters:
newMessageProperty - com.ibm.commerce.datatype.TypedProperty

setRequestProperties

public void setRequestProperties(TypedProperty newRequestProperties)
Sets the request properties.
Parameters:
newCommandProperty - com.ibm.commerce.datatype.TypedProperty

toString

public java.lang.String toString()
Override the toString() method to reflect a string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
java.lang.String