Enum Class ResidueType
- All Implemented Interfaces:
Serializable
,Comparable<ResidueType>
,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 ConstantDescription -
Field Summary
Modifier 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) static ResidueType
Returns the enum constant of this class with the specified name.static ResidueType[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPolymerType
Gets the associated PolymerType, which are less specific- Returns:
-
getResidueTypeFromString
-