public class Command
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD |
static Command |
COMMAND_ADD |
static Command |
COMMAND_COMMIT |
static Command |
COMMAND_DELETE |
static java.lang.String |
COMMIT |
static java.lang.String |
DELETE |
static java.lang.String |
DELETE_QUERY |
static java.lang.String |
QUERY |
Constructor and Description |
---|
Command(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getParams() |
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.String ADD
public static final java.lang.String DELETE
public static final java.lang.String DELETE_QUERY
public static final java.lang.String QUERY
public static final java.lang.String COMMIT
public static final Command COMMAND_ADD
public static final Command COMMAND_DELETE
public static final Command COMMAND_COMMIT
public Command(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> params)
public java.lang.String getName()
public java.util.Map<java.lang.String,java.lang.String> getParams()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object