public enum ExperimentalTechnique extends java.lang.Enum<ExperimentalTechnique>
| Enum Constant and Description |
|---|
ELECTRON_CRYSTALLOGRAPHY |
ELECTRON_MICROSCOPY |
FIBER_DIFFRACTION |
FLUORESCENCE_TRANSFER |
INFRARED_SPECTROSCOPY |
NEUTRON_DIFFRACTION |
POWDER_DIFFRACTION |
SOLID_STATE_NMR |
SOLUTION_NMR |
SOLUTION_SCATTERING |
XRAY_DIFFRACTION |
| Modifier and Type | Method and Description |
|---|---|
static ExperimentalTechnique |
getByName(java.lang.String expTechniqueName)
Returns the ExpTechnique given an experimental technique name as used in the PDB,
e.g.
|
java.lang.String |
getName() |
boolean |
isCrystallographic() |
static boolean |
isCrystallographic(java.util.Set<ExperimentalTechnique> techniques)
Given a Set of ExperimentalTechniques returns true if at least one is crystallographic
|
boolean |
isNmr() |
static boolean |
isNmr(java.util.Set<ExperimentalTechnique> techniques)
Given a Set of ExperimentalTechniques returns true if at least one is NMR
|
java.lang.String |
toString() |
static ExperimentalTechnique |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExperimentalTechnique[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExperimentalTechnique XRAY_DIFFRACTION
public static final ExperimentalTechnique SOLUTION_NMR
public static final ExperimentalTechnique SOLID_STATE_NMR
public static final ExperimentalTechnique ELECTRON_MICROSCOPY
public static final ExperimentalTechnique ELECTRON_CRYSTALLOGRAPHY
public static final ExperimentalTechnique FIBER_DIFFRACTION
public static final ExperimentalTechnique NEUTRON_DIFFRACTION
public static final ExperimentalTechnique SOLUTION_SCATTERING
public static final ExperimentalTechnique POWDER_DIFFRACTION
public static final ExperimentalTechnique FLUORESCENCE_TRANSFER
public static final ExperimentalTechnique INFRARED_SPECTROSCOPY
public static ExperimentalTechnique[] values()
for (ExperimentalTechnique c : ExperimentalTechnique.values()) System.out.println(c);
public static ExperimentalTechnique 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 java.lang.String getName()
public boolean isCrystallographic()
public boolean isNmr()
public static ExperimentalTechnique getByName(java.lang.String expTechniqueName)
XRAY_DIFFRACTIONexpTechniqueName - the ExpTechnique value or null if string doesn't match one of the known PDB experimental stringspublic static boolean isCrystallographic(java.util.Set<ExperimentalTechnique> techniques)
java.lang.NullPointerException - if input is nullpublic static boolean isNmr(java.util.Set<ExperimentalTechnique> techniques)
java.lang.NullPointerException - if input is nullpublic java.lang.String toString()
toString in class java.lang.Enum<ExperimentalTechnique>