Package org.biojava.nbio.structure.chem
Enum ResidueType
- All Implemented Interfaces:
Serializable
,Comparable<ResidueType>
,java.lang.constant.Constable
Enumerates the possible classifications of residues. These are generally more specific than PolymerTypes
This information is derived from the mmcif dictionary.
- Since:
- 1.7
- Author:
- mulvaney, Andreas Prlic
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
String value of the typefinal PolymerType
The associatedPolymerType
-
Method Summary
Modifier and TypeMethodDescriptionGets the associated PolymerType, which are less specificstatic ResidueType
getResidueTypeFromString
(String chem_comp_type) Get ResidueType by chem_comp_typestatic ResidueType
Returns the enum constant of this type with the specified name.static ResidueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
atomn
-
dPeptideLinking
-
lPeptideLinking
-
glycine
-
peptideLike
-
dPeptideAminoTerminus
-
lPeptideAminoTerminus
-
dPeptideCarboxyTerminus
-
lPeptideCarboxyTerminus
-
dnaLinking
-
rnaLinking
-
dna3PrimeTerminus
-
rna3PrimeTerminus
-
dna5PrimeTerminus
-
rna5PrimeTerminus
-
dSaccharide
-
dSaccharide14and14linking
-
dSaccharide14and16linking
-
lSaccharide
-
lSaccharide14and14linking
-
lSaccharide14and16linking
-
saccharide
-
dBetaPeptideCGammaLinking
-
dGammaPeptideCDeltaLinking
-
lBetaPeptideCGammaLinking
-
lGammaPeptideCDeltaLinking
-
lDNALinking
-
lRNALinking
-
nonPolymer
-
otherChemComp
-
-
Field Details
-
polymerType
The associatedPolymerType
-
chem_comp_type
String value of the type
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getPolymerType
Gets the associated PolymerType, which are less specific- Returns:
-
getResidueTypeFromString
Get ResidueType by chem_comp_type- Parameters:
chem_comp_type
- e.g. L-peptide linking- Returns:
-