public final class PubSubPublishedVariableConf extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubPublishedVariableConf.Builder
Builder for
PubSubPublishedVariableConf. |
static class |
PubSubPublishedVariableConf.Fields |
PubSubConf.MapKind<T>| Modifier and Type | Field and Description |
|---|---|
static PubSubConfSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static PubSubPublishedVariableConf.Builder |
builder()
Returns a new
PubSubPublishedVariableConf.Builder that can be used to construct instances of this class |
boolean |
equals(Object obj) |
UaArrayDimensions |
getArrayDimensions()
The ArrayDimensions of the field, note that these define maximum number of elements per
dimension (0 if unknown).
|
UnsignedInteger |
getAttributeId()
Configures which Attribute of the
getPublishedVariable() node is published, this shall
be configured if getPublishedVariable() is non-null. |
UaNodeId |
getDataType()
The DataType of the field.
|
DeadbandType |
getDeadbandType() |
Double |
getDeadbandValue() |
LocalizedText |
getDescription()
If non-null used as the description of the published variable.
|
NumericRange |
getIndexRange()
If non-null allows selecting a part of the
getPublishedVariable() multidimensional
Value. |
Map<UaQualifiedName,Object> |
getMetaDataPropertyMap() |
String |
getName()
If non-null used as the name of the publisher variable.
|
UaNodeId |
getPublishedVariable()
Configures which node to publish.
|
Duration |
getSamplingIntervalHint()
A hint for which sampling interval should be used when sampling
getPublishedVariable(). |
Object |
getSubstituteValue()
If the data received by Reading the
getPublishedVariable() is
StatusCode#isBad(), use this value instead with
StatusCodes#Uncertain_SubstituteValue. |
Integer |
getValueRank()
The ValueRank of the field.
|
int |
hashCode() |
Boolean |
isPreferSubscription()
If true (the default), tries to use client-server Subscriptions if the data source is an OPC UA
Client.
|
PubSubConfSpecification |
specification()
Returns the specification of this object.
|
PubSubPublishedVariableConf.Builder |
toBuilder()
Returns a new
PubSubPublishedVariableConf.Builder that is initialized with the state of this object. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitget, get, toMappublic static final PubSubConfSpecification SPECIFICATION
public PubSubConfSpecification specification()
PubSubConfpublic UaArrayDimensions getArrayDimensions()
getPublishedVariable() is null. If null and
getValueRank() is not scalar then the ArrayDimensions is taken from the node defined
by getPublishedVariable().public UnsignedInteger getAttributeId()
getPublishedVariable() node is published, this shall
be configured if getPublishedVariable() is non-null.public UaNodeId getDataType()
getPublishedVariable() is null. If null,
then the DataType is taken from the node defined by getPublishedVariable().public DeadbandType getDeadbandType()
public Double getDeadbandValue()
public LocalizedText getDescription()
public NumericRange getIndexRange()
getPublishedVariable() multidimensional
Value. Only has a meaning if getPublishedVariable() is non-null and
getAttributeId() equals Attributes#Value.public Map<UaQualifiedName,Object> getMetaDataPropertyMap()
public String getName()
getPublishedVariable() is not defined.public UaNodeId getPublishedVariable()
getAttributeId() defines which Attribute of the
node is published. If non-null, the getAttributeId() also shall be non-null. If this
is null, then getDataType(), getArrayDimensions(), getValueRank(),
getSubstituteValue() shall be configured and the field behaves as a constant value.public Duration getSamplingIntervalHint()
getPublishedVariable().public Object getSubstituteValue()
getPublishedVariable() is
StatusCode#isBad(), use this value instead with
StatusCodes#Uncertain_SubstituteValue.public Integer getValueRank()
getPublishedVariable() is null. If null,
then the ValueRank is taken from the node defined by getPublishedVariable().public Boolean isPreferSubscription()
public static PubSubPublishedVariableConf.Builder builder()
PubSubPublishedVariableConf.Builder that can be used to construct instances of this classpublic PubSubPublishedVariableConf.Builder toBuilder()
PubSubPublishedVariableConf.Builder that is initialized with the state of this object.Copyright © 2026. All rights reserved.