public enum PolymerType extends java.lang.Enum<PolymerType> implements java.io.Serializable
Enum Constant and Description |
---|
dna
polydeoxyribonucleotide
|
dnarna
polydeoxyribonucleotide/polyribonucleotide hybrid
|
dpeptide
polypeptide(D)
|
lpolysaccharide
polysaccharide(L)
|
otherPolymer
other
|
peptide
polypeptide(L)
|
polysaccharide
polysaccharide(D)
|
rna
polyribonucleotide
|
unknown
if all else fails...
|
Modifier and Type | Field and Description |
---|---|
static java.util.Set<PolymerType> |
ALL_POLYMER_TYPES
Convenience Set of all polymer types.
|
static java.util.Set<PolymerType> |
DNA_ONLY
Convenience Set of polymer types classified as DNA.
|
java.lang.String |
entity_poly_type |
static java.util.Set<PolymerType> |
POLYNUCLEOTIDE_ONLY
Convenience Set of polymer types classified as DNA.
|
static java.util.Set<PolymerType> |
PROTEIN_ONLY
Convenience Set of polymer types classified as protein.
|
static java.util.Set<PolymerType> |
RNA_ONLY
Convenience Set of polymer types classified as RNA.
|
Modifier and Type | Method and Description |
---|---|
static PolymerType |
polymerTypeFromString(java.lang.String polymerType) |
static PolymerType |
valueOf(java.lang.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 unknown
public final java.lang.String entity_poly_type
public static final java.util.Set<PolymerType> PROTEIN_ONLY
peptide
public static final java.util.Set<PolymerType> DNA_ONLY
dna
public static final java.util.Set<PolymerType> RNA_ONLY
rna
public static final java.util.Set<PolymerType> POLYNUCLEOTIDE_ONLY
public static final java.util.Set<PolymerType> ALL_POLYMER_TYPES
public static PolymerType[] values()
for (PolymerType c : PolymerType.values()) System.out.println(c);
public static PolymerType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PolymerType polymerTypeFromString(java.lang.String polymerType)