use of opc.i4aas.AASQualifierList in project FAAAST-Service by FraunhoferIOSB.
the class AasServiceNodeManager method addQualifierNode.
/**
* Adds a QualifierNode to the given Node.
*
* @param node The desired base node
*/
private void addQualifierNode(UaNode node) {
try {
String name = AASSubmodelElementType.QUALIFIER;
LOG.info("addQualifierNode {}; to Node: {}", name, node);
QualifiedName browseName = UaQualifiedName.from(opc.i4aas.ObjectTypeIds.AASQualifierList.getNamespaceUri(), name).toQualifiedName(getNamespaceTable());
NodeId nid = createNodeId(node, browseName);
AASQualifierList listNode = createInstance(AASQualifierList.class, nid, browseName, LocalizedText.english(name));
node.addComponent(listNode);
} catch (Exception ex) {
LOG.error("addQualifierNode Exception", ex);
}
}
Aggregations