public final class Variant extends Object
| Modifier and Type | Field and Description |
|---|---|
static Variant |
NULL_VALUE |
| Constructor and Description |
|---|
Variant(@Nullable Object value)
Create a new Variant with a given value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<ExpandedNodeId> |
getDataType() |
Object |
getValue() |
int |
hashCode() |
boolean |
isNotNull() |
boolean |
isNull() |
String |
toString() |
public static final Variant NULL_VALUE
public Variant(@Nullable
@Nullable Object value)
value - the value this Variant holds.public Optional<ExpandedNodeId> getDataType()
public Object getValue()
public boolean isNull()
public boolean isNotNull()
Copyright © 2025. All rights reserved.