Enum EalignVariables
- java.lang.Object
-
- java.lang.Enum<EalignVariables>
-
- cern.accsoft.steering.jmad.domain.var.enums.EalignVariables
-
- All Implemented Interfaces:
MadxVariable
,Variable
,java.io.Serializable
,java.lang.Comparable<EalignVariables>
public enum EalignVariables extends java.lang.Enum<EalignVariables> implements MadxVariable
Parameter values and variables names for Eoption and Esave commands.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMadxName()
retrieve the name of the variable.java.lang.String
getName()
java.lang.String
getUnit()
java.lang.Class<?>
getValueClass()
the type of the values which this variable representsMadxVarType
getVarType()
static EalignVariables
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EalignVariables[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DX
public static final EalignVariables DX
-
DY
public static final EalignVariables DY
-
DS
public static final EalignVariables DS
-
DPHI
public static final EalignVariables DPHI
-
DTHETA
public static final EalignVariables DTHETA
-
DPSI
public static final EalignVariables DPSI
-
MREX
public static final EalignVariables MREX
-
MREY
public static final EalignVariables MREY
-
MSCALX
public static final EalignVariables MSCALX
-
MSCALY
public static final EalignVariables MSCALY
-
AREX
public static final EalignVariables AREX
-
AREY
public static final EalignVariables AREY
-
-
Method Detail
-
values
public static EalignVariables[] 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 (EalignVariables c : EalignVariables.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EalignVariables 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
-
getName
public java.lang.String getName()
-
getUnit
public java.lang.String getUnit()
-
getValueClass
public java.lang.Class<?> getValueClass()
Description copied from interface:Variable
the type of the values which this variable represents- Specified by:
getValueClass
in interfaceVariable
- Returns:
- The class of the values
-
getMadxName
public java.lang.String getMadxName()
Description copied from interface:MadxVariable
retrieve the name of the variable. This must be a unique expression within the madx model.- Specified by:
getMadxName
in interfaceMadxVariable
- Returns:
- the name of the variable.
-
getVarType
public MadxVarType getVarType()
- Specified by:
getVarType
in interfaceMadxVariable
- Returns:
- the type (String/Double) of the variable
-
-