com.prosysopc.ua
Enum EventNotifierClass
java.lang.Object
java.lang.Enum<EventNotifierClass>
com.prosysopc.ua.EventNotifierClass
- All Implemented Interfaces:
- Serializable, Comparable<EventNotifierClass>
public enum EventNotifierClass
- extends Enum<EventNotifierClass>
Event notifier type used in nodes to define which kind of event support the node has.
HistoryRead
public static final EventNotifierClass HistoryRead
HistoryWrite
public static final EventNotifierClass HistoryWrite
SubscribeToEvents
public static final EventNotifierClass SubscribeToEvents
ALL
public static EnumSet<EventNotifierClass> ALL
NONE
public static EnumSet<EventNotifierClass> NONE
values
public static EventNotifierClass[] 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 (EventNotifierClass c : EventNotifierClass.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EventNotifierClass valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getMask
public static org.opcfoundation.ua.builtintypes.UnsignedByte getMask(Collection<EventNotifierClass> list)
getMask
public static org.opcfoundation.ua.builtintypes.UnsignedByte getMask(EventNotifierClass... list)
getSet
public static EnumSet<EventNotifierClass> getSet(byte mask)
getSet
public static EnumSet<EventNotifierClass> getSet(org.opcfoundation.ua.builtintypes.UnsignedByte mask)
getBitNr
public int getBitNr()
getValue
public int getValue()
- The EventNotifier value of the bit. Equals to 2^BitNr
- Returns:
- the value of the enumerator
Copyright © 2018. All rights reserved.