Enum ResidueType
- java.lang.Object
-
- java.lang.Enum<ResidueType>
-
- org.biojava.nbio.structure.io.mmcif.chem.ResidueType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResidueType>
public enum ResidueType extends Enum<ResidueType> implements Serializable
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:
- link into mmCIF dictionary
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description String
chem_comp_type
String value of the typePolymerType
polymerType
The associatedPolymerType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PolymerType
getPolymerType()
Gets the associated PolymerType, which are less specificstatic ResidueType
getResidueTypeFromString(String chem_comp_type)
Get ResidueType by chem_comp_typestatic ResidueType
valueOf(String name)
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 Detail
-
atomn
public static final ResidueType atomn
-
dPeptideLinking
public static final ResidueType dPeptideLinking
-
lPeptideLinking
public static final ResidueType lPeptideLinking
-
glycine
public static final ResidueType glycine
-
peptideLike
public static final ResidueType peptideLike
-
dPeptideAminoTerminus
public static final ResidueType dPeptideAminoTerminus
-
lPeptideAminoTerminus
public static final ResidueType lPeptideAminoTerminus
-
dPeptideCarboxyTerminus
public static final ResidueType dPeptideCarboxyTerminus
-
lPeptideCarboxyTerminus
public static final ResidueType lPeptideCarboxyTerminus
-
dnaLinking
public static final ResidueType dnaLinking
-
rnaLinking
public static final ResidueType rnaLinking
-
dna3PrimeTerminus
public static final ResidueType dna3PrimeTerminus
-
rna3PrimeTerminus
public static final ResidueType rna3PrimeTerminus
-
dna5PrimeTerminus
public static final ResidueType dna5PrimeTerminus
-
rna5PrimeTerminus
public static final ResidueType rna5PrimeTerminus
-
dSaccharide
public static final ResidueType dSaccharide
-
dSaccharide14and14linking
public static final ResidueType dSaccharide14and14linking
-
dSaccharide14and16linking
public static final ResidueType dSaccharide14and16linking
-
lSaccharide
public static final ResidueType lSaccharide
-
lSaccharide14and14linking
public static final ResidueType lSaccharide14and14linking
-
lSaccharide14and16linking
public static final ResidueType lSaccharide14and16linking
-
saccharide
public static final ResidueType saccharide
-
dBetaPeptideCGammaLinking
public static final ResidueType dBetaPeptideCGammaLinking
-
dGammaPeptideCDeltaLinking
public static final ResidueType dGammaPeptideCDeltaLinking
-
lBetaPeptideCGammaLinking
public static final ResidueType lBetaPeptideCGammaLinking
-
lGammaPeptideCDeltaLinking
public static final ResidueType lGammaPeptideCDeltaLinking
-
lDNALinking
public static final ResidueType lDNALinking
-
lRNALinking
public static final ResidueType lRNALinking
-
nonPolymer
public static final ResidueType nonPolymer
-
otherChemComp
public static final ResidueType otherChemComp
-
-
Field Detail
-
polymerType
public final PolymerType polymerType
The associatedPolymerType
-
chem_comp_type
public final String chem_comp_type
String value of the type
-
-
Method Detail
-
values
public static ResidueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResidueType c : ResidueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResidueType valueOf(String name)
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
public PolymerType getPolymerType()
Gets the associated PolymerType, which are less specific- Returns:
-
getResidueTypeFromString
public static ResidueType getResidueTypeFromString(String chem_comp_type)
Get ResidueType by chem_comp_type- Parameters:
chem_comp_type
- e.g. L-peptide linking- Returns:
-
-