uk.ac.ebi.intenz.domain.enzyme
Enum EnzymeCommissionNumber.Type

java.lang.Object
  extended by java.lang.Enum<EnzymeCommissionNumber.Type>
      extended by uk.ac.ebi.intenz.domain.enzyme.EnzymeCommissionNumber.Type
All Implemented Interfaces:
Serializable, Comparable<EnzymeCommissionNumber.Type>
Enclosing class:
EnzymeCommissionNumber

public static enum EnzymeCommissionNumber.Type
extends Enum<EnzymeCommissionNumber.Type>

Type of EC number.

Author:
rafalcan

Enum Constant Summary
CLASS
          Only the first digit is > 0 which means that this EC is a class EC.
ENZYME
          All digits are > 0 which means that this EC is an enzyme EC.
PRELIMINARY
          Like ENZYME, but not provided by NC-IUBMB.
SUBCLASS
          Only the first two digits are > 0 which means that this EC is a subclass EC.
SUBSUBCLASS
          Only the first three digits are > 0 which means that this EC is a sub-subclass EC.
UNDEF
          The EC number is undefined.
 
Method Summary
static EnzymeCommissionNumber.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnzymeCommissionNumber.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
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

CLASS

public static final EnzymeCommissionNumber.Type CLASS
Only the first digit is > 0 which means that this EC is a class EC.


SUBCLASS

public static final EnzymeCommissionNumber.Type SUBCLASS
Only the first two digits are > 0 which means that this EC is a subclass EC.


SUBSUBCLASS

public static final EnzymeCommissionNumber.Type SUBSUBCLASS
Only the first three digits are > 0 which means that this EC is a sub-subclass EC.


ENZYME

public static final EnzymeCommissionNumber.Type ENZYME
All digits are > 0 which means that this EC is an enzyme EC.


PRELIMINARY

public static final EnzymeCommissionNumber.Type PRELIMINARY
Like ENZYME, but not provided by NC-IUBMB.


UNDEF

public static final EnzymeCommissionNumber.Type UNDEF
The EC number is undefined.

Method Detail

values

public static EnzymeCommissionNumber.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 (EnzymeCommissionNumber.Type c : EnzymeCommissionNumber.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 EnzymeCommissionNumber.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 © 2013 EMBL-EBI. All Rights Reserved.