Package adalid.core.enums
Enum DatabaseTriggerType
- java.lang.Object
-
- java.lang.Enum<DatabaseTriggerType>
-
- adalid.core.enums.DatabaseTriggerType
-
- All Implemented Interfaces:
Serializable,Comparable<DatabaseTriggerType>
public enum DatabaseTriggerType extends Enum<DatabaseTriggerType>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_DELETE_ROWAFTER_INSERT_ROWAFTER_UPDATE_ROWBEFORE_DELETE_ROWBEFORE_INSERT_ROWBEFORE_UPDATE_ROW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAcronym()StringgetAdverb()StringgetExtensionAcronym()StringgetLevel()StringgetReturnVariable()StringgetStatementAcronym()StringgetStatementExtensionAcronym()StringgetVerb()static DatabaseTriggerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DatabaseTriggerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_INSERT_ROW
public static final DatabaseTriggerType BEFORE_INSERT_ROW
-
BEFORE_UPDATE_ROW
public static final DatabaseTriggerType BEFORE_UPDATE_ROW
-
BEFORE_DELETE_ROW
public static final DatabaseTriggerType BEFORE_DELETE_ROW
-
AFTER_INSERT_ROW
public static final DatabaseTriggerType AFTER_INSERT_ROW
-
AFTER_UPDATE_ROW
public static final DatabaseTriggerType AFTER_UPDATE_ROW
-
AFTER_DELETE_ROW
public static final DatabaseTriggerType AFTER_DELETE_ROW
-
-
Method Detail
-
values
public static DatabaseTriggerType[] 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 (DatabaseTriggerType c : DatabaseTriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseTriggerType 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
-
getAdverb
public String getAdverb()
-
getVerb
public String getVerb()
-
getLevel
public String getLevel()
-
getReturnVariable
public String getReturnVariable()
-
getAcronym
public String getAcronym()
-
getStatementAcronym
public String getStatementAcronym()
-
getExtensionAcronym
public String getExtensionAcronym()
-
getStatementExtensionAcronym
public String getStatementExtensionAcronym()
-
-