use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASFileTypeNodeBase method getValue.
@Optional
@Override
public String getValue() {
UaVariable node = getValueNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASFileTypeNodeBase method getMimeType.
@Mandatory
@Override
public String getMimeType() {
UaVariable node = getMimeTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node MimeType does not exist");
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementTypeImplBase method setModelingKind.
@Mandatory
@Override
public void setModelingKind(AASModelingKindDataType value) throws StatusException {
UaVariable node = getModelingKindNode();
if (node == null) {
throw new RuntimeException("Setting ModelingKind 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 AASPropertyTypeImplBase method setValueType.
@Mandatory
@Override
public void setValueType(AASValueTypeDataType value) throws StatusException {
UaVariable node = getValueTypeNode();
if (node == null) {
throw new RuntimeException("Setting ValueType 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 AASQualifierTypeImplBase method setValueType.
@Mandatory
@Override
public void setValueType(AASValueTypeDataType value) throws StatusException {
UaVariable node = getValueTypeNode();
if (node == null) {
throw new RuntimeException("Setting ValueType failed, the Optional node does not exist)");
}
node.setValue(value);
}
Aggregations