com.healthmarketscience.jackcess.impl
Enum RowIdImpl.Type

java.lang.Object
  extended by java.lang.Enum<RowIdImpl.Type>
      extended by 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
ALWAYS_FIRST
          comparable type indicating this RowId should always compare less than normal RowIds
ALWAYS_LAST
          comparable type indicating this RowId should always compare greater than normal RowIds
NORMAL
          comparable type indicating this RowId should always compare normally
 
Method Summary
static RowIdImpl.Type valueOf(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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2005–2017 Health Market Science. All rights reserved.