public enum EName extends java.lang.Enum<EName>
IEEnum.getName(de.desy.mst.libs.accelerator.EName)
.
It will return according to this enumeration the corresponding string value.
If the enumeration indeed exits but is not used a
EnumerationNotUsedException
.
Enumeration | Description |
---|---|
RANGE | The range between the bounding CDI data elements. This is truly the listed elements in the defined order in the concrete project! |
PROPERTY | On not CDI used data elements, this returns the property name. Mostly this doesn't exist on CDI used data elements. |
DESCRIPTION | The description of the data element. |
PRECISION | If it exists, it is the precision of the element. |
PRE_TINEADDRESS | The TINE pre address string. This will always include the context and server name and sometimes the device name (mostly on TINE paths which are not covered by CDI). |
BUTTON | The button text to be displayed in the GUI element. |
DEVICENAME | On CDI data elements, this returns the device name. Mostly this doesn't exist on not CDI used data elements. |
ID | Is a unique identifier per enumeration entry. |
NAME_TABLE | The table or element name, which is displayed in the GUI. Sometimes this can also be with a HTML tagged string. |
NAME | The title name, which is displayed in the GUI. Sometimes this can also be a HTML tagged string. |
NAME_CAVITY | The cavity name, which is displayed in the GUI. Sometimes this can also be with a HTML tagged string. |
UNIT | If it exists it is the unit of the data element. |
VALUE | The value. THIS WILL BE DELETED IN FUTURE VERSIONS. DON'T USE THIS! |
EName#CHANNEL | Normally this is only used for Linac2 for reading the CDI multiplexer values of RF. Other application will not use this entry. |
STATUS_ON | Value if the status is ON (depends on the returned TINE value, but is mostly an integer value of 1). |
STATUS_OFF | Value if the status is OFF (depends on the returned TINE value, but is mostly an integer value of 0). |
DRAG_AND_DROP | Returns a what so ever object for the Drag & Drop facility of the Swing components. |
FULL_TINE_ADDRESS | Full TINE address, including the context and server name, possibly the device name and the property name. |
Enum Constant and Description |
---|
BUTTON
Button text field.
|
DESCRIPTION
A short description of this entry.
|
DEVICENAME
TINE device name.
|
DRAG_AND_DROP
A Drag & Drop facility of a Swing component.
|
FULL_TINE_ADDRESS
The full TINE address, including the context, server name, possibly
the device name and property name.
|
ID
Deprecated.
|
NAME
Name.
|
NAME_CAVITY
Cavity name.
|
NAME_TABLE
Table name.
|
PRE_TINEADDRESS
Returns the TINE pre-string address element.
|
PRECISION
Precision of this data element.
|
PROPERTY
Returns the property of the enumeration of the TINE property called
ETineProperty . |
RANGE
Returns the range.
|
STATUS_OFF
Status value is OFF.
|
STATUS_ON
Status value is ON.
|
UNIT
Unit of this data element.
|
VALUE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final EName ID
Is the unique id of the current enumeration entry. Normally it will give
back the current enumeration the string value which is unique. It does
this by calling the internal method of every enumeration type
toString
.
This is currently deprecated because you can also get
a unified value by returning the string value of the enumeration Object.toString()
and therefore does the same.
public static final EName DESCRIPTION
public static final EName PRE_TINEADDRESS
public static final EName FULL_TINE_ADDRESS
public static final EName DEVICENAME
public static final EName PROPERTY
ETineProperty
.public static final EName PRECISION
public static final EName RANGE
Returns the range. These sets two values of
IEData
which returns the
number and sets them as the first and last value, i.e. the range of it.
This is truly the listed elements in the defined order in the concrete
project!
The range of the TINE device names is given by excluding it from the initialized map as the first and last bordering elements connection with a sign, in this case a hyphen ("-"). If there exists only one TINE device name it will simply return the device name as a string value.
Examples:
public static final EName BUTTON
public static final EName NAME
public static final EName NAME_TABLE
public static final EName NAME_CAVITY
public static final EName UNIT
@Deprecated public static final EName VALUE
public static final EName STATUS_ON
public static final EName STATUS_OFF
public static final EName DRAG_AND_DROP
public static EName[] values()
for (EName c : EName.values()) System.out.println(c);
public static EName 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 null14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft