com.healthmarketscience.jackcess
Enum RowId.Type

java.lang.Object
  extended by java.lang.Enum<RowId.Type>
      extended by com.healthmarketscience.jackcess.RowId.Type
All Implemented Interfaces:
Serializable, Comparable<RowId.Type>
Enclosing class:
RowId

public static enum RowId.Type
extends Enum<RowId.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 RowId.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RowId.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 RowId.Type ALWAYS_FIRST
comparable type indicating this RowId should always compare less than normal RowIds


NORMAL

public static final RowId.Type NORMAL
comparable type indicating this RowId should always compare normally


ALWAYS_LAST

public static final RowId.Type ALWAYS_LAST
comparable type indicating this RowId should always compare greater than normal RowIds

Method Detail

values

public static RowId.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 (RowId.Type c : RowId.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 RowId.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-2013 Health Market Science. All Rights Reserved.