public enum OpenFileMode extends Enum<OpenFileMode> implements UaEnumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenFileMode.Codec |
| Enum Constant and Description |
|---|
Append |
EraseExisting |
Read |
Write |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable OpenFileMode |
from(int value) |
static ExpandedNodeId |
getTypeId() |
int |
getValue() |
static OpenFileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenFileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenFileMode Read
public static final OpenFileMode Write
public static final OpenFileMode EraseExisting
public static final OpenFileMode Append
public static OpenFileMode[] values()
for (OpenFileMode c : OpenFileMode.values()) System.out.println(c);
public static OpenFileMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface UaEnumeration@Nullable public static @Nullable OpenFileMode from(int value)
public static ExpandedNodeId getTypeId()
Copyright © 2025. All rights reserved.