public enum RoutineKind extends Enum<RoutineKind>
docs/designs/sp/routine-summary-scc-design.md §2.1a). Part of
RoutineIdentity so that a procedure and a function with the same
qualified name can never collide, and package members are never confused
with top-level routines of the same name.| Enum Constant and Description |
|---|
FUNCTION |
PACKAGE_MEMBER_FUNCTION |
PACKAGE_MEMBER_PROCEDURE |
PROCEDURE |
TRIGGER |
| Modifier and Type | Method and Description |
|---|---|
static RoutineKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoutineKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutineKind PROCEDURE
public static final RoutineKind FUNCTION
public static final RoutineKind PACKAGE_MEMBER_PROCEDURE
public static final RoutineKind PACKAGE_MEMBER_FUNCTION
public static final RoutineKind TRIGGER
public static RoutineKind[] values()
for (RoutineKind c : RoutineKind.values()) System.out.println(c);
public static RoutineKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null