org.biojava.bio.structure.cath
Enum CathCategory

java.lang.Object
  extended by java.lang.Enum<CathCategory>
      extended by org.biojava.bio.structure.cath.CathCategory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CathCategory>

public enum CathCategory
extends java.lang.Enum<CathCategory>

The categories found within CATH. The CATH node types are: 'C' (class), 'A' (architecture), 'T' (topology), 'H' (homologous superfamily), 'S' (sequence family, S35), 'O' (orthologous sequence family, S60), 'L' ("like" sequence family, S95), 'I' (identical, S100) and 'D' (domain, S100 count).

Author:
Daniel Asarnow

Enum Constant Summary
Architecture
           
Class
           
DomainCounter
           
Homology
           
IdenticalSequenceFamily
           
LikeSequenceFamily
           
OrthologousSequenceFamily
           
SequenceFamily
           
Topolgy
           
 
Method Summary
static CathCategory fromCathCode(java.lang.String code)
           
static CathCategory fromString(java.lang.String type)
           
 java.lang.String toString()
           
static CathCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CathCategory[] 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

Class

public static final CathCategory Class

Architecture

public static final CathCategory Architecture

Topolgy

public static final CathCategory Topolgy

Homology

public static final CathCategory Homology

SequenceFamily

public static final CathCategory SequenceFamily

OrthologousSequenceFamily

public static final CathCategory OrthologousSequenceFamily

LikeSequenceFamily

public static final CathCategory LikeSequenceFamily

IdenticalSequenceFamily

public static final CathCategory IdenticalSequenceFamily

DomainCounter

public static final CathCategory DomainCounter
Method Detail

values

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

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

valueOf

public static CathCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromString

public static CathCategory fromString(java.lang.String type)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<CathCategory>

fromCathCode

public static CathCategory fromCathCode(java.lang.String code)