c408h008.common.command
Class OECommandMark

java.lang.Object
  extended byc408h008.common.command.OECommandMark

public class OECommandMark
extends java.lang.Object

Stores the mark position, name, and the owning client's id.


Constructor Summary
OECommandMark()
          Constructs a new mark command.
 
Method Summary
 java.lang.String getClientID()
          Gets the client's id.
 java.lang.String getMarkName()
          Gets the mark's name.
 int getPosition()
          Gets the position of the mark.
 void setClientID(java.lang.String clientID)
          Sets the client's id.
 void setMarkName(java.lang.String markName)
          Sets the mark's name.
 void setPosition(int position)
          Sets the position of the mark.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OECommandMark

public OECommandMark()
Constructs a new mark command.

Method Detail

getMarkName

public java.lang.String getMarkName()
Gets the mark's name.

Returns:
The name of the mark.

setMarkName

public void setMarkName(java.lang.String markName)
Sets the mark's name.

Parameters:
markName - The name of the mark.

getClientID

public java.lang.String getClientID()
Gets the client's id.

Returns:
The owning client's id.

setClientID

public void setClientID(java.lang.String clientID)
Sets the client's id.

Parameters:
clientID - The owning client's id.

getPosition

public int getPosition()
Gets the position of the mark.

Returns:
The position of the mark.

setPosition

public void setPosition(int position)
Sets the position of the mark.

Parameters:
position - The position of the mark.