c408h008.common.message
Class OEMessage

java.lang.Object
  extended byc408h008.common.message.OEMessage

public class OEMessage
extends java.lang.Object

This is the class which is used to pass messages from the Client to the Web Service and then back again. Each message will store only one command at a time and the command type will be indicated by the variable commandType. The command type must be one of the following (command type is case sensitive):
INSERT
DELETE
MOVE
MARK
REMOVEMARK
GUARD
REMOVEGUARD
SELECT


Constructor Summary
OEMessage()
           
 
Method Summary
 java.lang.String getChannelID()
           
 java.lang.String getClientID()
           
 java.lang.String getCommandType()
           
 OECommandDelete getDeleteCommand()
           
 OECommandGuard getGuardCommand()
           
 OECommandInsert getInsertCommand()
           
 OECommandMark getMarkCommand()
           
 OECommandMove getMoveCommand()
           
 OECommandRemoveGuard getRemoveGuardCommand()
           
 OECommandRemoveMark getRemoveMarkCommand()
           
 OECommandRemoveSelect getRemoveSelectCommand()
           
 OECommandSelect getSelectCommand()
           
 void setChannelID(java.lang.String channelID)
           
 void setClientID(java.lang.String clientID)
           
 void setCommandType(java.lang.String commandType)
           
 void setDeleteCommand(OECommandDelete deleteCommand)
           
 void setGuardCommand(OECommandGuard guardCommand)
           
 void setInsertCommand(OECommandInsert insertCommand)
           
 void setMarkCommand(OECommandMark markCommand)
           
 void setMoveCommand(OECommandMove moveCommand)
           
 void setRemoveGuardCommand(OECommandRemoveGuard removeGuardCommand)
           
 void setRemoveMarkCommand(OECommandRemoveMark removeMarkCommand)
           
 void setRemoveSelectCommand(OECommandRemoveSelect removeSelectCommand)
           
 void setSelectCommand(OECommandSelect selectCommand)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OEMessage

public OEMessage()
Method Detail

getRemoveGuardCommand

public OECommandRemoveGuard getRemoveGuardCommand()
Returns:
Returns the removeGuardCommand.

setRemoveGuardCommand

public void setRemoveGuardCommand(OECommandRemoveGuard removeGuardCommand)
Parameters:
removeGuardCommand - The removeGuardCommand to set.

getCommandType

public java.lang.String getCommandType()
Returns:
Returns the commandType.

setCommandType

public void setCommandType(java.lang.String commandType)
Parameters:
commandType - The commandType to set.

getDeleteCommand

public OECommandDelete getDeleteCommand()
Returns:
Returns the deleteCommand.

setDeleteCommand

public void setDeleteCommand(OECommandDelete deleteCommand)
Parameters:
deleteCommand - The deleteCommand to set.

getGuardCommand

public OECommandGuard getGuardCommand()
Returns:
Returns the guardCommand.

setGuardCommand

public void setGuardCommand(OECommandGuard guardCommand)
Parameters:
guardCommand - The guardCommand to set.

getInsertCommand

public OECommandInsert getInsertCommand()
Returns:
Returns the insertCommand.

setInsertCommand

public void setInsertCommand(OECommandInsert insertCommand)
Parameters:
insertCommand - The insertCommand to set.

getMarkCommand

public OECommandMark getMarkCommand()
Returns:
Returns the markCommand.

setMarkCommand

public void setMarkCommand(OECommandMark markCommand)
Parameters:
markCommand - The markCommand to set.

getRemoveMarkCommand

public OECommandRemoveMark getRemoveMarkCommand()
Returns:
Returns the markCommand.

setRemoveMarkCommand

public void setRemoveMarkCommand(OECommandRemoveMark removeMarkCommand)
Parameters:
removeMarkCommand - The markCommand to be used.

getMoveCommand

public OECommandMove getMoveCommand()
Returns:
Returns the moveCommand.

setMoveCommand

public void setMoveCommand(OECommandMove moveCommand)
Parameters:
moveCommand - The moveCommand to set.

getSelectCommand

public OECommandSelect getSelectCommand()
Returns:
Returns the selectCommand.

setSelectCommand

public void setSelectCommand(OECommandSelect selectCommand)
Parameters:
selectCommand - The selectCommand to set.

getChannelID

public java.lang.String getChannelID()
Returns:
Returns the channelID.

setChannelID

public void setChannelID(java.lang.String channelID)
Parameters:
channelID - The channelID to set.

getClientID

public java.lang.String getClientID()
Returns:
Returns the clientID.

setClientID

public void setClientID(java.lang.String clientID)
Parameters:
clientID - The clientID to set.

getRemoveSelectCommand

public OECommandRemoveSelect getRemoveSelectCommand()

setRemoveSelectCommand

public void setRemoveSelectCommand(OECommandRemoveSelect removeSelectCommand)