use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASRangeTypeImplBase method getMin.
@Optional
@Override
public Object getMin() {
UaVariable node = getMinNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Object) value;
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASRangeTypeImplBase method getValueType.
@Mandatory
@Override
public AASValueTypeDataType getValueType() {
UaVariable node = getValueTypeNode();
if (node == null) {
return null;
}
Variant value = node.getValue().getValue();
return (AASValueTypeDataType) value.asEnum(AASValueTypeDataType.class);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASEntityTypeImplBase method setEntityType.
@Mandatory
@Override
public void setEntityType(AASEntityTypeDataType value) throws StatusException {
UaVariable node = getEntityTypeNode();
if (node == null) {
throw new RuntimeException("Setting EntityType 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 AASFileTypeImplBase method setMimeType.
@Mandatory
@Override
public void setMimeType(String value) throws StatusException {
UaVariable node = getMimeTypeNode();
if (node == null) {
throw new RuntimeException("Setting MimeType 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 AASIdentifierKeyValuePairTypeImplBase method setKey.
@Mandatory
@Override
public void setKey(String value) throws StatusException {
UaVariable node = getKeyNode();
if (node == null) {
throw new RuntimeException("Setting Key failed, the Optional node does not exist)");
}
node.setValue(value);
}
Aggregations