Package org.sqlproc.engine.impl
Enum SqlMetaSqlFragment.Type
- java.lang.Object
-
- java.lang.Enum<SqlMetaSqlFragment.Type>
-
- org.sqlproc.engine.impl.SqlMetaSqlFragment.Type
-
- All Implemented Interfaces:
Serializable,Comparable<SqlMetaSqlFragment.Type>
- Enclosing class:
- SqlMetaSqlFragment
static enum SqlMetaSqlFragment.Type extends Enum<SqlMetaSqlFragment.Type>
The enumeration of types. These types are based on the prefix if this element:{==and{=.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlMetaSqlFragment.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SqlMetaSqlFragment.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WHERE
public static final SqlMetaSqlFragment.Type WHERE
The type for the element prefix{= where.
-
SET
public static final SqlMetaSqlFragment.Type SET
The type for the element prefix{= set.
-
VALUES
public static final SqlMetaSqlFragment.Type VALUES
The type for the element prefix{= values.
-
COLUMNS
public static final SqlMetaSqlFragment.Type COLUMNS
The type for the element prefix{= columns.
-
-
Method Detail
-
values
public static SqlMetaSqlFragment.Type[] 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 (SqlMetaSqlFragment.Type c : SqlMetaSqlFragment.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlMetaSqlFragment.Type 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
-
-