public enum PolymerType extends Enum<PolymerType> implements Serializable
Enum Constant and Description |
---|
cyclicPeptide
cyclic peptides
|
dna
polydeoxyribonucleotide
|
dnarna
polydeoxyribonucleotide/polyribonucleotide hybrid
|
dpeptide
polypeptide(D)
|
lpolysaccharide
polysaccharide(L)
|
otherPolymer
other
|
peptide
polypeptide(L)
|
peptideNucleicAcid
Peptide nucleic acids
|
polysaccharide
polysaccharide(D)
|
rna
polyribonucleotide
|
unknown
if all else fails...
|
Modifier and Type | Field and Description |
---|---|
static Set<PolymerType> |
ALL_POLYMER_TYPES
Convenience Set of all polymer types.
|
static Set<PolymerType> |
DNA_ONLY
Convenience Set of polymer types classified as DNA.
|
String |
entity_poly_type |
static Set<PolymerType> |
POLYNUCLEOTIDE_ONLY
Convenience Set of polymer types classified as DNA.
|
static Set<PolymerType> |
PROTEIN_ONLY
Convenience Set of polymer types classified as protein.
|
static Set<PolymerType> |
RNA_ONLY
Convenience Set of polymer types classified as RNA.
|
Modifier and Type | Method and Description |
---|---|
static PolymerType |
polymerTypeFromString(String polymerType) |
static PolymerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolymerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolymerType peptide
public static final PolymerType dpeptide
public static final PolymerType dna
public static final PolymerType rna
public static final PolymerType dnarna
public static final PolymerType polysaccharide
public static final PolymerType lpolysaccharide
public static final PolymerType otherPolymer
public static final PolymerType cyclicPeptide
public static final PolymerType peptideNucleicAcid
public static final PolymerType unknown
public final String entity_poly_type
public static final Set<PolymerType> PROTEIN_ONLY
peptide
public static final Set<PolymerType> DNA_ONLY
dna
public static final Set<PolymerType> RNA_ONLY
rna
public static final Set<PolymerType> POLYNUCLEOTIDE_ONLY
public static final Set<PolymerType> ALL_POLYMER_TYPES
public static PolymerType[] values()
for (PolymerType c : PolymerType.values()) System.out.println(c);
public static PolymerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PolymerType polymerTypeFromString(String polymerType)
Copyright © 2000–2018 BioJava. All rights reserved.