public enum ExperimentalTechnique extends 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(String expTechniqueName)
Returns the ExpTechnique given an experimental technique name as used in the PDB,
e.g.
|
String |
getName() |
boolean |
isCrystallographic() |
static boolean |
isCrystallographic(Set<ExperimentalTechnique> techniques)
Given a Set of ExperimentalTechniques returns true if at least one is crystallographic
|
boolean |
isNmr() |
static boolean |
isNmr(Set<ExperimentalTechnique> techniques)
Given a Set of ExperimentalTechniques returns true if at least one is NMR
|
String |
toString() |
static ExperimentalTechnique |
valueOf(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(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 String getName()
public boolean isCrystallographic()
public boolean isNmr()
public static ExperimentalTechnique getByName(String expTechniqueName)
XRAY_DIFFRACTION
expTechniqueName
- the ExpTechnique value or null if string doesn't match one of the known PDB experimental stringspublic static boolean isCrystallographic(Set<ExperimentalTechnique> techniques)
NullPointerException
- if input is nullpublic static boolean isNmr(Set<ExperimentalTechnique> techniques)
NullPointerException
- if input is nullpublic String toString()
toString
in class Enum<ExperimentalTechnique>
Copyright © 2000–2016 BioJava. All rights reserved.