public enum EServiceElement extends java.lang.Enum<EServiceElement> implements IEEnum
Service elements. Currently this includes the following enumeration elements:
Enumeration | Description |
---|---|
PERFORMANCE_DATA | Contains the value of the modulator data. |
MINIMUM | Contains the minimum value of the modulator data. |
MAXIMUM | Contains the maximum value of the modulator data. |
UNIT | Contains the EGU unit value of the modulator data. |
Enum Constant and Description |
---|
MAXIMUM |
MINIMUM |
PERFORMANCE_DATA |
UNIT |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLAZZ
Class name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElement()
Returns the element.
|
java.lang.String |
getName(EName description_)
Returns according to the enumeration of the description the corresponding
string value.
|
java.lang.String |
getPrefixProperty()
Returns the TINE prefix property name.
|
void |
putName(EName description,
java.lang.String name)
Sets to the according enumeration the string value of the corresponding
element.
|
static EServiceElement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EServiceElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EServiceElement PERFORMANCE_DATA
public static final EServiceElement MINIMUM
public static final EServiceElement MAXIMUM
public static final EServiceElement UNIT
public static EServiceElement[] values()
for (EServiceElement c : EServiceElement.values()) System.out.println(c);
public static EServiceElement 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 getPrefixProperty()
public java.lang.String getElement()
public java.lang.String getName(EName description_) throws EnumerationNotUsedException
IEEnum
null
value
is returned, except the enumeration of ID
which will always
return a value.getName
in interface IEEnum
description_
- The corresponding enumeration type which you wanted
to get. For more information see at the EName
enumeration.EnumerationNotUsedException
- If the enumeration indeed exists but
is not used these exception is thrown.public void putName(EName description, java.lang.String name) throws EnumerationNotUsedException
IEEnum
putName
in interface IEEnum
description
- Is the EName enumeration one wants to set.name
- Is the name of the string value. This can also be
null.EnumerationNotUsedException
- Is thrown if the enumeration is known
but not used.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft