use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASIdentifierKeyValuePairTypeNodeBase method getValue.
@Mandatory
@Override
public String getValue() {
UaVariable node = getValueNode();
if (node == null) {
throw new RuntimeException("Mandatory node Value 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 AASIdentifierTypeNodeBase method getIdType.
@Mandatory
@Override
public AASIdentifierTypeDataType getIdType() {
UaVariable node = getIdTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node IdType does not exist");
}
Variant value = node.getValue().getValue();
return (AASIdentifierTypeDataType) value.asEnum(AASIdentifierTypeDataType.class);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASIriConceptDescriptionTypeNodeBase method getCategory.
@Mandatory
@Override
public String getCategory() {
UaVariable node = getCategoryNode();
if (node == null) {
throw new RuntimeException("Mandatory node Category 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 AASRangeTypeNodeBase 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 AASRangeTypeNodeBase method getMax.
@Optional
@Override
public Object getMax() {
UaVariable node = getMaxNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Object) value;
}
Aggregations