public enum EAccess extends java.lang.Enum<EAccess> implements IEEnum
EAccess instance | Description |
---|---|
READ | This will read information from the server or hardware. |
WRITE | This will write information to the server or hardware. |
TCP | This is focused on a TCP connection. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description() |
java.lang.String |
getName(EName description_)
Returns according to the enumeration of the description the corresponding
string value.
|
java.lang.String |
id() |
boolean |
isTineAccess(short... accesses_)
This will return a boolean value.
|
void |
putName(EName description_,
java.lang.String name_)
Sets to the according enumeration the string value of the corresponding
element.
|
short |
tineAccess()
Returns the corresponding TINE access.
|
static EAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAccess READ
public static final EAccess WRITE
public static final EAccess TCP
public static EAccess[] values()
for (EAccess c : EAccess.values()) System.out.println(c);
public static EAccess 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 description()
public java.lang.String id()
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_)
IEEnum
public boolean isTineAccess(short... accesses_)
true
is returned otherwise a false
.
The TINE values are take from the class called
TAccess
.accesses_
- Is an array of TINE values of the type TAccess
.public short tineAccess()
true
the hole querying will return true
otherwise
false
.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft