use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASReferableTypeImplBase method setCategory.
@Mandatory
@Override
public void setCategory(String value) throws StatusException {
UaVariable node = getCategoryNode();
if (node == null) {
throw new RuntimeException("Setting Category failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASReferenceTypeImplBase method setKeys.
@Mandatory
@Override
public void setKeys(AASKeyDataType[] value) throws StatusException {
UaVariable node = getKeysNode();
if (node == null) {
throw new RuntimeException("Setting Keys failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementCollectionTypeImplBase method setAllowDuplicates.
@Optional
@Override
public void setAllowDuplicates(Boolean value) throws StatusException {
UaVariable node = getAllowDuplicatesNode();
if (node == null) {
throw new RuntimeException("Setting AllowDuplicates failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementTypeImplBase method setCategory.
@Mandatory
@Override
public void setCategory(String value) throws StatusException {
UaVariable node = getCategoryNode();
if (node == null) {
throw new RuntimeException("Setting Category failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class IAASReferableTypeImplBase method getCategory.
@Mandatory
@Override
public String getCategory() {
UaVariable node = getCategoryNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
Aggregations