public enum GroupType extends Enum<GroupType>
ResidueType
Enum Constant and Description |
---|
AMINOACID
The type for amino acids (L-peptides)
|
HETATM
The type for hetero groups (everything else)
|
NUCLEOTIDE
The type for nucleotide groups (dna and rna)
|
Modifier and Type | Field and Description |
---|---|
static List<String> |
WATERNAMES
The 3-letter codes used in the PDB to identify water molecules
|
Modifier and Type | Method and Description |
---|---|
Set<ResidueType> |
getResidueTypes()
Get a set of ResidueTypes loosely equivalent to this GroupType.
|
String |
toString() |
static GroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupType NUCLEOTIDE
public static final List<String> WATERNAMES
Group.isWater()
public static GroupType[] values()
for (GroupType c : GroupType.values()) System.out.println(c);
public static GroupType 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 Set<ResidueType> getResidueTypes()
Because mmCIF and PDB handle modified residues differently, some Groups may have a well-defined ResidueType yet still be HETATMs.
Copyright © 2000–2018 BioJava. All rights reserved.