Enum YaspHeaderData
- java.lang.Object
-
- java.lang.Enum<YaspHeaderData>
-
- cern.accsoft.steering.util.meas.data.yasp.YaspHeaderData
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<YaspHeaderData>
public enum YaspHeaderData extends java.lang.Enum<YaspHeaderData>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEAM_MODECONTEXTENERGYFILL_NUMBERMODEL_URIOPTICTIME_STAMPUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static YaspHeaderDatafromString(java.lang.String tag)java.lang.Class<?>getDataTypeClass()java.lang.StringgetYaspTag()static YaspHeaderDatavalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static YaspHeaderData[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIC
public static final YaspHeaderData OPTIC
-
CONTEXT
public static final YaspHeaderData CONTEXT
-
TIME_STAMP
public static final YaspHeaderData TIME_STAMP
-
ENERGY
public static final YaspHeaderData ENERGY
-
FILL_NUMBER
public static final YaspHeaderData FILL_NUMBER
-
BEAM_MODE
public static final YaspHeaderData BEAM_MODE
-
MODEL_URI
public static final YaspHeaderData MODEL_URI
-
UNKNOWN
public static final YaspHeaderData UNKNOWN
-
-
Method Detail
-
values
public static YaspHeaderData[] 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 (YaspHeaderData c : YaspHeaderData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YaspHeaderData valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getYaspTag
public java.lang.String getYaspTag()
-
getDataTypeClass
public java.lang.Class<?> getDataTypeClass()
-
fromString
public static YaspHeaderData fromString(java.lang.String tag)
-
-