Enum RowIdImpl.Type
- java.lang.Object
-
- java.lang.Enum<RowIdImpl.Type>
-
- com.healthmarketscience.jackcess.impl.RowIdImpl.Type
-
- All Implemented Interfaces:
Serializable,Comparable<RowIdImpl.Type>
- Enclosing class:
- RowIdImpl
public static enum RowIdImpl.Type extends Enum<RowIdImpl.Type>
type attributes for RowIds which simplify comparisons
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_FIRSTcomparable type indicating this RowId should always compare less than normal RowIdsALWAYS_LASTcomparable type indicating this RowId should always compare greater than normal RowIdsNORMALcomparable type indicating this RowId should always compare normally
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RowIdImpl.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static RowIdImpl.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS_FIRST
public static final RowIdImpl.Type ALWAYS_FIRST
comparable type indicating this RowId should always compare less than normal RowIds
-
NORMAL
public static final RowIdImpl.Type NORMAL
comparable type indicating this RowId should always compare normally
-
ALWAYS_LAST
public static final RowIdImpl.Type ALWAYS_LAST
comparable type indicating this RowId should always compare greater than normal RowIds
-
-
Method Detail
-
values
public static RowIdImpl.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 (RowIdImpl.Type c : RowIdImpl.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 RowIdImpl.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
-
-