org.opcfoundation.ua.core
Enum TrustListMasks

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

public enum TrustListMasks
extends Enum<TrustListMasks>
implements Enumeration


Enum Constant Summary
All
           
IssuerCertificates
           
IssuerCrls
           
None
           
TrustedCertificates
           
TrustedCrls
           
 
Field Summary
static EnumSet<TrustListMasks> ALL
           
static NodeId ID
           
static EnumSet<TrustListMasks> NONE
           
 
Method Summary
static UnsignedInteger getMask(Collection<TrustListMasks> list)
           
static UnsignedInteger getMask(TrustListMasks... list)
           
static EnumSet<TrustListMasks> getSet(int mask)
           
static EnumSet<TrustListMasks> getSet(UnsignedInteger mask)
           
 int getValue()
          getValue.
static TrustListMasks valueOf(int value)
           
static TrustListMasks[] valueOf(int[] value)
           
static TrustListMasks valueOf(Integer value)
           
static TrustListMasks[] valueOf(Integer[] value)
           
static TrustListMasks valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TrustListMasks valueOf(UnsignedInteger value)
           
static TrustListMasks[] valueOf(UnsignedInteger[] value)
           
static TrustListMasks[] 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

None

public static final TrustListMasks None

TrustedCertificates

public static final TrustListMasks TrustedCertificates

TrustedCrls

public static final TrustListMasks TrustedCrls

IssuerCertificates

public static final TrustListMasks IssuerCertificates

IssuerCrls

public static final TrustListMasks IssuerCrls

All

public static final TrustListMasks All
Field Detail

ID

public static final NodeId ID

NONE

public static EnumSet<TrustListMasks> NONE

ALL

public static EnumSet<TrustListMasks> ALL
Method Detail

values

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

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

valueOf

public static TrustListMasks 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 TrustListMasks valueOf(int value)

valueOf

public static TrustListMasks valueOf(Integer value)

valueOf

public static TrustListMasks valueOf(UnsignedInteger value)

valueOf

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

valueOf

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

valueOf

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

getMask

public static UnsignedInteger getMask(TrustListMasks... list)

getMask

public static UnsignedInteger getMask(Collection<TrustListMasks> list)

getSet

public static EnumSet<TrustListMasks> getSet(UnsignedInteger mask)

getSet

public static EnumSet<TrustListMasks> getSet(int mask)


Copyright © 2018. All rights reserved.