Enum ResidueType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ResidueType>

    public enum ResidueType
    extends java.lang.Enum<ResidueType>
    implements java.io.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 Detail

      • dPeptideLinking

        public static final ResidueType dPeptideLinking
      • lPeptideLinking

        public static final ResidueType lPeptideLinking
      • 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

      • chem_comp_type

        public final java.lang.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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getPolymerType

        public PolymerType getPolymerType()
        Gets the associated PolymerType, which are less specific
        Returns:
      • getResidueTypeFromString

        public static ResidueType getResidueTypeFromString​(java.lang.String chem_comp_type)
        Get ResidueType by chem_comp_type
        Parameters:
        chem_comp_type - e.g. L-peptide linking
        Returns: