public enum TreatmentType extends java.lang.Enum<TreatmentType>
Enum Constant and Description |
---|
ARM
Anhysteretic remanent magnetization: alternating-field treatment with a
DC biasing field.
|
DEGAUSS_XYZ
Static alternating-field treatment along three orthogonal axes.
|
DEGAUSS_Z
Static alternating-field treatment along one axis.
|
IRM
Isothermal remanent magnetization: a pulsed non-alternating field.
|
NONE
No treatment applied.
|
THERMAL
Heating.
|
UNKNOWN
Unknown treatment type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAxisLabel()
Returns the axis label to use when plotting a graph involving this
treatment.
|
java.lang.String |
getNiceName()
Returns a user-friendly name for this treatment.
|
java.lang.String |
getUnit()
The units in which this treatment is quantified.
|
boolean |
isMagneticField() |
static TreatmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreatmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreatmentType NONE
public static final TreatmentType DEGAUSS_XYZ
public static final TreatmentType DEGAUSS_Z
public static final TreatmentType ARM
public static final TreatmentType IRM
public static final TreatmentType THERMAL
public static final TreatmentType UNKNOWN
public static TreatmentType[] values()
for (TreatmentType c : TreatmentType.values()) System.out.println(c);
public static TreatmentType 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 getNiceName()
public java.lang.String getAxisLabel()
public java.lang.String getUnit()
public boolean isMagneticField()
true
if and only if this treatment involves application
of a magnetic field