public enum GroupType extends java.lang.Enum<GroupType>
ResidueType
Enum Constant | 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 | Description |
---|---|---|
static java.util.List<java.lang.String> |
WATERNAMES |
The 3-letter codes used in the PDB to identify water molecules
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<ResidueType> |
getResidueTypes() |
Get a set of ResidueTypes loosely equivalent to this GroupType.
|
java.lang.String |
toString() |
|
static GroupType |
valueOf(java.lang.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 AMINOACID
public static final GroupType NUCLEOTIDE
public static final GroupType HETATM
public static final java.util.List<java.lang.String> WATERNAMES
Group.isWater()
public static GroupType[] values()
for (GroupType c : GroupType.values()) System.out.println(c);
public static GroupType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<GroupType>
public java.util.Set<ResidueType> getResidueTypes()
Because mmCIF and PDB handle modified residues differently, some Groups may have a well-defined ResidueType yet still be HETATMs.