Package org.biojava.nbio.structure.cath
Enum CathCategory
- java.lang.Object
-
- java.lang.Enum<CathCategory>
-
- org.biojava.nbio.structure.cath.CathCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<CathCategory>
public enum CathCategory extends 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
Enum Constants Enum Constant Description Architecture
Class
DomainCounter
Homology
IdenticalSequenceFamily
LikeSequenceFamily
OrthologousSequenceFamily
SequenceFamily
Topolgy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CathCategory
fromCathCode(String code)
static CathCategory
fromString(String type)
String
toString()
static CathCategory
valueOf(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.
-
-
-
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(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 nameNullPointerException
- if the argument is null
-
fromString
public static CathCategory fromString(String type)
-
toString
public String toString()
- Overrides:
toString
in classEnum<CathCategory>
-
fromCathCode
public static CathCategory fromCathCode(String code)
-
-