This method of the Command class sets one or more CommandType values.
public void setCommandType(int type);