org.opcfoundation.ua.core
Enum ApplicationType

java.lang.Object
  extended by java.lang.Enum<ApplicationType>
      extended by org.opcfoundation.ua.core.ApplicationType
All Implemented Interfaces:
Serializable, Comparable<ApplicationType>, Enumeration

public enum ApplicationType
extends Enum<ApplicationType>
implements Enumeration


Enum Constant Summary
Client
           
ClientAndServer
           
DiscoveryServer
           
Server
           
 
Field Summary
static EnumSet<ApplicationType> ALL
           
static NodeId ID
           
static EnumSet<ApplicationType> NONE
           
 
Method Summary
 int getValue()
          getValue.
static ApplicationType valueOf(int value)
           
static ApplicationType[] valueOf(int[] value)
           
static ApplicationType valueOf(Integer value)
           
static ApplicationType[] valueOf(Integer[] value)
           
static ApplicationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationType valueOf(UnsignedInteger value)
           
static ApplicationType[] valueOf(UnsignedInteger[] value)
           
static ApplicationType[] 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

Server

public static final ApplicationType Server

Client

public static final ApplicationType Client

ClientAndServer

public static final ApplicationType ClientAndServer

DiscoveryServer

public static final ApplicationType DiscoveryServer
Field Detail

ID

public static final NodeId ID

NONE

public static EnumSet<ApplicationType> NONE

ALL

public static EnumSet<ApplicationType> ALL
Method Detail

values

public static ApplicationType[] 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 (ApplicationType c : ApplicationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApplicationType 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

getValue

public int getValue()
Description copied from interface: Enumeration

getValue.

Specified by:
getValue in interface Enumeration
Returns:
a int.

valueOf

public static ApplicationType valueOf(int value)

valueOf

public static ApplicationType valueOf(Integer value)

valueOf

public static ApplicationType valueOf(UnsignedInteger value)

valueOf

public static ApplicationType[] valueOf(int[] value)

valueOf

public static ApplicationType[] valueOf(Integer[] value)

valueOf

public static ApplicationType[] valueOf(UnsignedInteger[] value)


Copyright © 2018. All rights reserved.