public static final class PubSubVariableDataSetConf.Builder extends Object
PubSubVariableDataSetConf.| Modifier and Type | Field and Description |
|---|---|
protected UUID |
dataSetClassId |
protected LocalizedText |
description |
protected String |
name |
protected List<PubSubPublishedVariableConf> |
publishedVariables |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected String name
protected UUID dataSetClassId
protected LocalizedText description
protected List<PubSubPublishedVariableConf> publishedVariables
public PubSubVariableDataSetConf.Builder addPublishedVariables(PubSubPublishedVariableConf... confs)
addPublishedVariables(PubSubPublishedVariableConf) that adds
all defined published variables to this DataSet.public PubSubVariableDataSetConf.Builder addPublishedVariables(UaNodeId... ids)
addPublishedVariables(PubSubPublishedVariableConf) that adds
all given nodes with their Value Attribute as published variables to this DataSet.public PubSubVariableDataSetConf.Builder addPublishedVariables(UaNodeId id, String name)
addPublishedVariables(PubSubPublishedVariableConf) that adds
the given node with the Value Attribute as a published variable to this DataSet. Uses the
given name as the name of the field when calculating the DataSetMetaData for this DataSet.public PubSubVariableDataSetConf.Builder addPublishedVariables(UaNodeId id, String name, LocalizedText description)
addPublishedVariables(PubSubPublishedVariableConf) that adds
the given node with the Value Attribute as a published variable to this DataSet. Uses the
given name as the name of the field and the given description when calculating the
DataSetMetaData for this DataSet.public PubSubConfSpecification specification()
PubSubConf.Builderspecification in interface PubSubConf.Builder<PubSubVariableDataSetConf.Builder>public String getName()
public UUID getDataSetClassId()
public LocalizedText getDescription()
public List<PubSubPublishedVariableConf> getPublishedVariables()
public PubSubVariableDataSetConf.Builder setName(String name)
PubSubVariableDataSetConf.getName(). Returns itself for method chaining.setName in interface PubSubNamedConf.Builder<PubSubVariableDataSetConf.Builder>public PubSubVariableDataSetConf.Builder setDataSetClassId(UUID dataSetClassId)
PubSubVariableDataSetConf.getDataSetClassId(). Returns itself for method chaining.setDataSetClassId in interface PubSubDataSetConf.Builder<PubSubVariableDataSetConf.Builder>public PubSubVariableDataSetConf.Builder setDescription(LocalizedText description)
PubSubVariableDataSetConf.getDescription(). Returns itself for method chaining.setDescription in interface PubSubDataSetConf.Builder<PubSubVariableDataSetConf.Builder>public PubSubVariableDataSetConf.Builder addPublishedVariables(PubSubPublishedVariableConf publishedVariables)
PubSubVariableDataSetConf.getPublishedVariables(). Returns itself for method chaining.public PubSubVariableDataSetConf build()
PubSubVariableDataSetConf with the values given to this builder.build in interface PubSubConf.Builder<PubSubVariableDataSetConf.Builder>Copyright © 2026. All rights reserved.