public enum QueryManagementMsg extends java.lang.Enum<QueryManagementMsg>
Enum
serveix per a emmagatzemar els missatges d'error
que es produeixen en el paquet QueryManagement.Enum Constant and Description |
---|
ALTER_TABLE_SENSE_CLAUS_FORANES
La sentčncia ALTER TABLE no té claus foranes.
|
ALTER_TABLE_SENSE_SESSIO
No es pot crear una sentčncia ALTER TABLE sense una sessió inicialitzada.
|
ALTERTABLE_SENSE_TIPUS
No es pot crear una sentčncia ALTER TABLE sense indicar el seu tipus.
|
CAMP_SENSE_NOM
No es pot crear un camp sense nom.
|
CLAUFORANA_SENSE_CAMPS
La restricció o constraint de clau forana no té camps.
|
CLAUFORANA_SENSE_NOM
No es pot crear una clau forana sense nom.
|
CLAUFORANA_SENSE_TAULA
No es pot crear una clau forana sense taula de referčncia.
|
CONDICIO_AFEGIDA_NULA
No es pot afegir una condició nul·la en una restricció.
|
CONDICIO_AFEGIDA_SENSE_OPERADOR_LOGIC
No es pot afegir una condició en una restricció sense un operador lňgic.
|
CONDICIO_SENSE_OPERADOR_RELACIONAL
No es pot crear una condició sense un operador relacional o de comparació.
|
CONDICIO_SENSE_PARELL
No es pot crear una condició sense un parell de camp-valor.
|
CONSTRAINT_SENSE_CAMPS
La restricció no té camps.
|
CONSTRAINT_SENSE_NOM
No es pot crear una restricció o constraint sense nom.
|
CONSTRAINT_SENSE_TIPUS
No es pot crear una restricció o constraint sense indicar el seu tipus.
|
CREATE_TABLE_SENSE_COLUMNES
La sentčncia CREATE TABLE no té columnes definides.
|
CREATE_TABLE_SENSE_SESSIO
No es pot crear una sentčncia CREATE TABLE sense una sessió inicialitzada.
|
DELETE_SENSE_SESSIO
No es pot crear una sentčncia DELETE sense una sessió inicicalitzada.
|
ERROR_CONSTRUCCIO_INSERT
S'ha produďt un error en la construcció de la sentčncia INSERT.
|
INSERT_SENSE_SESSIO
No es pot crear una sentčncia INSERT sense una sessió inicialitzada.
|
NO_PARELLS_CAMP_VALOR
No s'han afegit parells camp-valor en la sentčncia.
|
NO_TAULA
No hi ha una taula associada a la consulta.
|
PARELL_SENSE_CAMP
No es pot crear un parell camp-valor sense el camp.
|
PARELL_SENSE_VALOR
No es pot crear un parell camp-valor sense el valor.
|
RESTRICCIO_SENSE_CONDICIO
No es pot crear una restricció d'una sentčncia SQL sense una condició.
|
SELECT_SENSE_CAMPS
La sentčncia SELECT no té camps per a projectar.
|
SELECT_SENSE_SESSIO
No es pot crear una sentčncia SELECT sense una sessió inicialitzada.
|
SENTENCIA_SENSE_TAULA
No es pot crear una sentčncia SQL sense indicar una taula.
|
UPDATE_SENSE_PARELLS
La sentčncia UPDATE no té cap parell camp-valor del SET.
|
UPDATE_SENSE_SESSIO
No es pot crear una sentčncia UPDATE sense una sessió inicialitzada.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Permet obtenir el codi del missatge.
|
java.lang.String |
getMsg()
Permet obtenir el text del missatge.
|
static QueryManagementMsg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryManagementMsg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryManagementMsg NO_TAULA
public static final QueryManagementMsg NO_PARELLS_CAMP_VALOR
public static final QueryManagementMsg ERROR_CONSTRUCCIO_INSERT
public static final QueryManagementMsg SELECT_SENSE_CAMPS
public static final QueryManagementMsg UPDATE_SENSE_PARELLS
public static final QueryManagementMsg CONDICIO_SENSE_OPERADOR_RELACIONAL
public static final QueryManagementMsg CONDICIO_SENSE_PARELL
public static final QueryManagementMsg SENTENCIA_SENSE_TAULA
public static final QueryManagementMsg PARELL_SENSE_CAMP
public static final QueryManagementMsg PARELL_SENSE_VALOR
public static final QueryManagementMsg CAMP_SENSE_NOM
public static final QueryManagementMsg RESTRICCIO_SENSE_CONDICIO
public static final QueryManagementMsg CONDICIO_AFEGIDA_SENSE_OPERADOR_LOGIC
public static final QueryManagementMsg CONDICIO_AFEGIDA_NULA
public static final QueryManagementMsg CONSTRAINT_SENSE_NOM
public static final QueryManagementMsg CONSTRAINT_SENSE_CAMPS
public static final QueryManagementMsg CONSTRAINT_SENSE_TIPUS
public static final QueryManagementMsg CREATE_TABLE_SENSE_COLUMNES
public static final QueryManagementMsg CLAUFORANA_SENSE_NOM
public static final QueryManagementMsg CLAUFORANA_SENSE_TAULA
public static final QueryManagementMsg CLAUFORANA_SENSE_CAMPS
public static final QueryManagementMsg CREATE_TABLE_SENSE_SESSIO
public static final QueryManagementMsg ALTER_TABLE_SENSE_SESSIO
public static final QueryManagementMsg ALTER_TABLE_SENSE_CLAUS_FORANES
public static final QueryManagementMsg INSERT_SENSE_SESSIO
public static final QueryManagementMsg SELECT_SENSE_SESSIO
public static final QueryManagementMsg UPDATE_SENSE_SESSIO
public static final QueryManagementMsg DELETE_SENSE_SESSIO
public static final QueryManagementMsg ALTERTABLE_SENSE_TIPUS
public static QueryManagementMsg[] values()
for (QueryManagementMsg c : QueryManagementMsg.values()) System.out.println(c);
public static QueryManagementMsg valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMsg()
String
amb el text del missatge.public int getCode()
int
amb el codi del missatge.