public enum ChainTerminatorToken extends Enum<ChainTerminatorToken> implements PDBToken
| Enum Constant and Description |
|---|
ATOM_SERIAL |
CHAIN_IDENTIFIER |
RECORD_TYPE |
RESIDUE_INSERTION |
RESIDUE_NAME |
RESIDUE_SERIAL |
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
RECORD_PATTERN
A pattern describing all record names associated with this token structure.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
assemblePDBLine(LeafSubstructure lastLeafOfChain)
Creates a terminate record from the last leaf in the consecutive part of a chain.
|
de.bioforscher.singa.core.utility.Range<Integer> |
getColumns()
Gets the columns (the staring and ending index) where a value can be extracted.
|
Pattern |
getRecordNamePattern()
Returns the record name for this token.
|
static ChainTerminatorToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChainTerminatorToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfendLine, extract, extractValueFromPDBLinepublic static final ChainTerminatorToken RECORD_TYPE
public static final ChainTerminatorToken ATOM_SERIAL
public static final ChainTerminatorToken RESIDUE_NAME
public static final ChainTerminatorToken CHAIN_IDENTIFIER
public static final ChainTerminatorToken RESIDUE_SERIAL
public static final ChainTerminatorToken RESIDUE_INSERTION
public static final Pattern RECORD_PATTERN
public static ChainTerminatorToken[] values()
for (ChainTerminatorToken c : ChainTerminatorToken.values()) System.out.println(c);
public static ChainTerminatorToken valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static String assemblePDBLine(LeafSubstructure lastLeafOfChain)
lastLeafOfChain - The last leaf in the consecutive part of a chain.public Pattern getRecordNamePattern()
PDBTokengetRecordNamePattern in interface PDBTokenpublic de.bioforscher.singa.core.utility.Range<Integer> getColumns()
PDBTokengetColumns in interface PDBTokenCopyright © 2018. All rights reserved.