com.prosysopc.ua
Enum EventNotifierClass

java.lang.Object
  extended by java.lang.Enum<EventNotifierClass>
      extended by 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.


Enum Constant Summary
HistoryRead
           
HistoryWrite
           
SubscribeToEvents
           
 
Field Summary
static EnumSet<EventNotifierClass> ALL
           
static EnumSet<EventNotifierClass> NONE
           
 
Method Summary
 int getBitNr()
           
static org.opcfoundation.ua.builtintypes.UnsignedByte getMask(Collection<EventNotifierClass> list)
           
static org.opcfoundation.ua.builtintypes.UnsignedByte getMask(EventNotifierClass... list)
           
static EnumSet<EventNotifierClass> getSet(byte mask)
           
static EnumSet<EventNotifierClass> getSet(org.opcfoundation.ua.builtintypes.UnsignedByte mask)
           
 int getValue()
          The EventNotifier value of the bit.
static EventNotifierClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EventNotifierClass[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HistoryRead

public static final EventNotifierClass HistoryRead

HistoryWrite

public static final EventNotifierClass HistoryWrite

SubscribeToEvents

public static final EventNotifierClass SubscribeToEvents
Field Detail

ALL

public static EnumSet<EventNotifierClass> ALL

NONE

public static EnumSet<EventNotifierClass> NONE
Method Detail

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.