|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PolymerType>
org.biojava.bio.structure.io.mmcif.chem.PolymerType
public enum PolymerType
Enumerates the classification of polymers. This information is derived from the mmcif dictionary
Enum Constant Summary | |
---|---|
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... |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic static PolymerType polymerTypeFromString(java.lang.String polymerType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |