public interface EcNumber
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
EcNumber.Impl
A simple implementation of EcNumber. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static Pattern | 
EC_PATTERN
A Pattern that can be used to parse EC strings into the indiidual numbers. 
 | 
static int | 
UNCLASSIFIED
Constant that represents EC number components that are as yet unclassified. 
 | 
static int | 
UNDEFINED
Constant that represents EC number components that are not defined. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getClassNumber(int level)
Get the class number associated with the particular level of the ec number. 
 | 
static final Pattern EC_PATTERN
static final int UNDEFINED
static final int UNCLASSIFIED
int getClassNumber(int level)
The index can be between 0 and 3 inclusive. 0 correxpons to the top level class, 1 to the sub-class and so on. A return value of UNDEFINED indicates that this field is not populated.
level - the level in the ec classification to return the number forCopyright © 2020 BioJava. All rights reserved.