net.sf.jniinchi
Enum INCHI_KEY_STATUS

java.lang.Object
  extended by java.lang.Enum<INCHI_KEY_STATUS>
      extended by net.sf.jniinchi.INCHI_KEY_STATUS
All Implemented Interfaces:
Serializable, Comparable<INCHI_KEY_STATUS>

public enum INCHI_KEY_STATUS
extends Enum<INCHI_KEY_STATUS>

Type-safe enumeration of InChIKey check return codes.

InChI library return values:
VALID_STANDARD (0) INVALID_LENGTH (1) INVALID_LAYOUT (2) INVALID_VERSION (3)

See inchi_api.h.

Author:
Sam Adams

Enum Constant Summary
INVALID_LAYOUT
           
INVALID_LENGTH
           
INVALID_VERSION
           
VALID_NON_STANDARD
           
VALID_STANDARD
           
 
Method Summary
 int getIndx()
           
static INCHI_KEY_STATUS getValue(int value)
           
static INCHI_KEY_STATUS valueOf(String name)
          Returns the enum constant of this type with the specified name.
static INCHI_KEY_STATUS[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VALID_STANDARD

public static final INCHI_KEY_STATUS VALID_STANDARD

VALID_NON_STANDARD

public static final INCHI_KEY_STATUS VALID_NON_STANDARD

INVALID_LENGTH

public static final INCHI_KEY_STATUS INVALID_LENGTH

INVALID_LAYOUT

public static final INCHI_KEY_STATUS INVALID_LAYOUT

INVALID_VERSION

public static final INCHI_KEY_STATUS INVALID_VERSION
Method Detail

values

public static INCHI_KEY_STATUS[] 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 (INCHI_KEY_STATUS c : INCHI_KEY_STATUS.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static INCHI_KEY_STATUS 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

getIndx

public int getIndx()

getValue

public static INCHI_KEY_STATUS getValue(int value)


Copyright © 2006-2010 Sam Adams. All Rights Reserved.