public enum GeneralMsg extends java.lang.Enum<GeneralMsg>
Enum Constant and Description |
---|
ENTITAT_SENSE_PK
L'entitat no té definides les claus primàries.
|
NO_SGBD
No s'ha definit un sistema de gestió de base de dades.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Permet obtenir el codi del missatge.
|
java.lang.String |
getMsg()
Permet obtenr el text del missatge.
|
static GeneralMsg |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneralMsg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralMsg NO_SGBD
Connection
. Aquest cas, teòricament,
no es pot donar perquè MyFrameUOC es proporciona amb dues especialitzacions, és a dir,
que es pot treballar amb Oracle y MySQL.public static final GeneralMsg ENTITAT_SENSE_PK
public static GeneralMsg[] values()
for (GeneralMsg c : GeneralMsg.values()) System.out.println(c);
public static GeneralMsg 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.