uk.ac.ebi.intenz.domain.enzyme
Enum Cofactor.Operators

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

public static enum Cofactor.Operators
extends Enum<Cofactor.Operators>


Enum Constant Summary
AND
          Only used in complex nestings
OR_FAMILIES
          For cofactors which are used by different families of enzymes within the same EC number.
OR_OPTIONAL
          For cofactors which can be used indiscriminately by an enzyme.
OR_UNKNOWN
          For cofactors which may be used by an enzyme, but scientists aren't sure which one.
 
Method Summary
 String getCode()
           
static String[] getCodes()
           
 String toString()
           
static Cofactor.Operators valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Cofactor.Operators[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AND

public static final Cofactor.Operators AND
Only used in complex nestings


OR_OPTIONAL

public static final Cofactor.Operators OR_OPTIONAL
For cofactors which can be used indiscriminately by an enzyme.


OR_FAMILIES

public static final Cofactor.Operators OR_FAMILIES
For cofactors which are used by different families of enzymes within the same EC number.


OR_UNKNOWN

public static final Cofactor.Operators OR_UNKNOWN
For cofactors which may be used by an enzyme, but scientists aren't sure which one.

Method Detail

values

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

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

valueOf

public static Cofactor.Operators 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

toString

public String toString()
Overrides:
toString in class Enum<Cofactor.Operators>

getCode

public String getCode()

getCodes

public static String[] getCodes()


Copyright © 2013 EMBL-EBI. All Rights Reserved.