Package io.vertigo.database.impl.sql
Enum Resources
- java.lang.Object
-
- java.lang.Enum<Resources>
-
- io.vertigo.database.impl.sql.Resources
-
- All Implemented Interfaces:
io.vertigo.core.locale.MessageKey
,Serializable
,Comparable<Resources>
public enum Resources extends Enum<Resources> implements io.vertigo.core.locale.MessageKey
- Author:
- jmforhan
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMO_SQL_CONSTRAINT_ALREADY_REGISTRED
Unicity constraint problem.DYNAMO_SQL_CONSTRAINT_IMPOSSIBLE_TO_DELETE
Impossible to delete entry due to referential constraint.DYNAMO_SQL_CONSTRAINT_TOO_BIG_VALUE
Value to big for field in database.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resources
valueOf(String name)
Returns the enum constant of this type with the specified name.static Resources[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMO_SQL_CONSTRAINT_TOO_BIG_VALUE
public static final Resources DYNAMO_SQL_CONSTRAINT_TOO_BIG_VALUE
Value to big for field in database.
-
DYNAMO_SQL_CONSTRAINT_IMPOSSIBLE_TO_DELETE
public static final Resources DYNAMO_SQL_CONSTRAINT_IMPOSSIBLE_TO_DELETE
Impossible to delete entry due to referential constraint.
-
DYNAMO_SQL_CONSTRAINT_ALREADY_REGISTRED
public static final Resources DYNAMO_SQL_CONSTRAINT_ALREADY_REGISTRED
Unicity constraint problem.
-
-
Method Detail
-
values
public static Resources[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resources c : Resources.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-