use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASPropertyTypeImplBase method setValue.
@Optional
@Override
public void setValue(Object value) throws StatusException {
UaVariable node = getValueNode();
if (node == null) {
throw new RuntimeException("Setting Value failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASQualifierTypeImplBase method setValue.
@Optional
@Override
public void setValue(Object value) throws StatusException {
UaVariable node = getValueNode();
if (node == null) {
throw new RuntimeException("Setting Value failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASRangeTypeImplBase method setMax.
@Optional
@Override
public void setMax(Object value) throws StatusException {
UaVariable node = getMaxNode();
if (node == null) {
throw new RuntimeException("Setting Max failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASRangeTypeImplBase method getMax.
@Optional
@Override
public Object getMax() {
UaVariable node = getMaxNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Object) value;
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASRangeTypeImplBase method setMin.
@Optional
@Override
public void setMin(Object value) throws StatusException {
UaVariable node = getMinNode();
if (node == null) {
throw new RuntimeException("Setting Min failed, the Optional node does not exist)");
}
node.setValue(value);
}
Aggregations