Enum Class PolymerType
- All Implemented Interfaces:
Serializable
,Comparable<PolymerType>
,Constable
Enumerates the classification of polymers.
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 ConstantDescriptioncyclic peptidespolydeoxyribonucleotidepolydeoxyribonucleotide/polyribonucleotide hybridpolypeptide(D)polysaccharide(L)otherpolypeptide(L)Peptide nucleic acidspolysaccharide(D)polyribonucleotideif all else fails... -
Field Summary
Modifier and TypeFieldDescriptionstatic final Set<PolymerType>
Convenience Set of all polymer types.static final Set<PolymerType>
Convenience Set of polymer types classified as DNA.final String
static final Set<PolymerType>
Convenience Set of polymer types classified as DNA.static final Set<PolymerType>
Convenience Set of polymer types classified as protein.static final Set<PolymerType>
Convenience Set of polymer types classified as RNA. -
Method Summary
Modifier and TypeMethodDescriptionstatic PolymerType
polymerTypeFromString
(String polymerType) static PolymerType
Returns the enum constant of this class with the specified name.static PolymerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
peptide
polypeptide(L) -
dpeptide
polypeptide(D) -
dna
polydeoxyribonucleotide -
rna
polyribonucleotide -
dnarna
polydeoxyribonucleotide/polyribonucleotide hybrid -
polysaccharide
polysaccharide(D) -
lpolysaccharide
polysaccharide(L) -
otherPolymer
other -
cyclicPeptide
cyclic peptides -
peptideNucleicAcid
Peptide nucleic acids -
unknown
if all else fails...
-
-
Field Details
-
entity_poly_type
-
PROTEIN_ONLY
Convenience Set of polymer types classified as protein. This only containspeptide
-
DNA_ONLY
Convenience Set of polymer types classified as DNA. This only containsdna
-
RNA_ONLY
Convenience Set of polymer types classified as RNA. This only containsrna
-
POLYNUCLEOTIDE_ONLY
-
ALL_POLYMER_TYPES
Convenience Set of all polymer types.
-
-
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
-
polymerTypeFromString
-