Package de.isas.mztab2.model
Enum Instrument.Properties
- java.lang.Object
-
- java.lang.Enum<Instrument.Properties>
-
- de.isas.mztab2.model.Instrument.Properties
-
- All Implemented Interfaces:
Serializable
,Comparable<Instrument.Properties>
- Enclosing class:
- Instrument
public static enum Instrument.Properties extends Enum<Instrument.Properties>
Property enumeration for Instrument.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
static Instrument.Properties
of(String value)
String
toString()
String
toUpper()
static Instrument.Properties
valueOf(String name)
Returns the enum constant of this type with the specified name.static Instrument.Properties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
name
public static final Instrument.Properties name
-
source
public static final Instrument.Properties source
-
analyzer
public static final Instrument.Properties analyzer
-
detector
public static final Instrument.Properties detector
-
-
Method Detail
-
values
public static Instrument.Properties[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Instrument.Properties c : Instrument.Properties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Instrument.Properties valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPropertyName
public String getPropertyName()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Instrument.Properties>
-
toUpper
public String toUpper()
-
of
public static Instrument.Properties of(String value)
-
-