/**
 * 
 */
package mathsquared.resultswizard2;

import java.io.Serializable;

/**
 * Used to transmit a message between client and server. All implementors should define a serialVersionUID.
 * 
 * @author MathSquared
 * 
 */
public interface Command extends Serializable {
    /**
     * Returns a Message representing the type of command that this object is carrying.
     * 
     * @return the type of this Command
     */
    public Message getType ();
}

@@ -70,16 +70,38 @@
 lizable;
+%0Aimport java.util.Map;
 %0A%0A/**%0A *
@@ -432,16 +432,38 @@
  Command
+, as a %7B@link Message%7D
 %0A     */
@@ -493,11 +493,821 @@
 Type ();
+%0A%0A    /**%0A     * Returns the String parameter to this Message, if applicable.%0A     * %0A     * @return the String parameter to this Command, if supported by the %7B@linkplain #getType() relevant%7D %7B@link Message%7D%0A     * @throws UnsupportedOperationException if this Message does not %7B@linkplain ParamType support%7D a String parameter%0A     */%0A    public String getStringPayload ();%0A%0A    /**%0A     * Returns the Map%3CString, Slide%5B%5D%3E parameter to this Message, if applicable.%0A     * %0A     * @return the Map%3CString, Slide%5B%5D%3E parameter to this Command, if supported by the %7B@linkplain #getType() relevant%7D %7B@link Message%7D%0A     * @throws UnsupportedOperationException if this Message does not %7B@linkplain ParamType support%7D a Map%3CString, Slide%5B%5D%3E parameter%0A     */%0A    public Map%3CString, Slide%5B%5D%3E getStringSlidesPayload ();
 %0A%7D%0A

Add payload retrieval methods to Command