Enum Class PolymerType

java.lang.Object
java.lang.Enum<PolymerType>
org.biojava.nbio.structure.io.mmcif.chem.PolymerType
All Implemented Interfaces:
Serializable, Comparable<PolymerType>, Constable

public enum PolymerType extends Enum<PolymerType> implements Serializable
Enumerates the classification of polymers. This information is derived from the mmcif dictionary
Since:
1.7
Author:
mulvaney, Andreas Prlic
See Also:
  • Enum Constant Details

    • peptide

      public static final PolymerType peptide
      polypeptide(L)
    • dpeptide

      public static final PolymerType dpeptide
      polypeptide(D)
    • dna

      public static final PolymerType dna
      polydeoxyribonucleotide
    • rna

      public static final PolymerType rna
      polyribonucleotide
    • dnarna

      public static final PolymerType dnarna
      polydeoxyribonucleotide/polyribonucleotide hybrid
    • polysaccharide

      public static final PolymerType polysaccharide
      polysaccharide(D)
    • lpolysaccharide

      public static final PolymerType lpolysaccharide
      polysaccharide(L)
    • otherPolymer

      public static final PolymerType otherPolymer
      other
    • cyclicPeptide

      public static final PolymerType cyclicPeptide
      cyclic peptides
    • peptideNucleicAcid

      public static final PolymerType peptideNucleicAcid
      Peptide nucleic acids
    • unknown

      public static final PolymerType unknown
      if all else fails...
  • Field Details

    • entity_poly_type

      public final String entity_poly_type
    • PROTEIN_ONLY

      public static final Set<PolymerType> PROTEIN_ONLY
      Convenience Set of polymer types classified as protein. This only contains peptide
    • DNA_ONLY

      public static final Set<PolymerType> DNA_ONLY
      Convenience Set of polymer types classified as DNA. This only contains dna
    • RNA_ONLY

      public static final Set<PolymerType> RNA_ONLY
      Convenience Set of polymer types classified as RNA. This only contains rna
    • POLYNUCLEOTIDE_ONLY

      public static final Set<PolymerType> POLYNUCLEOTIDE_ONLY
      Convenience Set of polymer types classified as DNA. This contains:
    • ALL_POLYMER_TYPES

      public static final Set<PolymerType> ALL_POLYMER_TYPES
      Convenience Set of all polymer types.
  • Method Details

    • values

      public static PolymerType[] 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

      public static PolymerType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • polymerTypeFromString

      public static PolymerType polymerTypeFromString(String polymerType)