|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.server.utils.Command
public class Command
Classe permettant de représenter un objet commande, i.e. une référence à une action et une liste de paramètres
| Field Summary | |
|---|---|
static int |
CLOSE
|
static int |
CREATE_CASE
|
static java.lang.String |
ID
|
static int |
INIT
|
static int |
LOAD_BASE
|
static int |
LOAD_CASE
|
static int |
LOAD_MODEL
|
static java.lang.String |
NAME
mode = "0"; mode de navigation par défaut (idem pas de paramètre) mode = "1"; mode de navigation complet symbolic="false"; pas d'affichage des symboliques numeric="false"; pas d'affichage des numeric taxonomique="false"; pas d'affichage des taxonomique text="false"; pas d'affichage des text idRub=identificateur de rubrique |
int |
numCmd
|
java.util.Map |
params
|
static java.lang.String |
PATH
|
static int |
SELECT_CASES
|
static int |
SEND_CASE
|
static int |
SETVALUE
|
static java.lang.String |
VALUE
|
static int |
WRONG
|
static int |
XML
|
static int |
XML_RESPONSE
|
| Constructor Summary | |
|---|---|
Command(java.lang.String cmd)
|
|
| Method Summary | |
|---|---|
int |
getNumCmd()
|
java.lang.String |
getParam(java.lang.String key)
|
java.util.Map |
getParams()
|
void |
init(java.lang.String cmd)
Analyse et initialisation de la commande textuelle |
java.lang.String |
intToString()
|
java.lang.String |
intToString(int i)
Correspondance entre une commande exprimée sous la forme d'une référence et la chaîne |
void |
setNumCmd(int numCmd)
|
void |
setParams(java.util.Map params)
|
int |
stringToInt(java.lang.String sc)
Correspondance entre une commande exprimée sous la forme d'une chaîne et sa référence |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int WRONG
public static final int INIT
public static final int LOAD_MODEL
public static final int LOAD_BASE
public static final int LOAD_CASE
public static final int CREATE_CASE
public static final int SELECT_CASES
public static final int SEND_CASE
public static final int CLOSE
public static final int XML_RESPONSE
public static final int SETVALUE
public static final int XML
public static final java.lang.String NAME
public static final java.lang.String PATH
public static final java.lang.String ID
public static final java.lang.String VALUE
public int numCmd
public java.util.Map params
| Constructor Detail |
|---|
public Command(java.lang.String cmd)
| Method Detail |
|---|
public int getNumCmd()
public void setNumCmd(int numCmd)
public java.util.Map getParams()
public void setParams(java.util.Map params)
public java.lang.String getParam(java.lang.String key)
public void init(java.lang.String cmd)
cmd - :
la chaînepublic java.lang.String toString()
toString in class java.lang.Objectpublic int stringToInt(java.lang.String sc)
c - :
la chaîne
public java.lang.String intToString(int i)
c - :
la chaîne
public java.lang.String intToString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||