use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeNodeBase method getDataType.
@Optional
@Override
public AASDataTypeIEC61360DataType getDataType() {
UaVariable node = getDataTypeNode();
if (node == null) {
return null;
}
Variant value = node.getValue().getValue();
return (AASDataTypeIEC61360DataType) value.asEnum(AASDataTypeIEC61360DataType.class);
}
use of com.prosysopc.ua.nodes.Optional 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.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASQualifierTypeImplBase method getValue.
@Optional
@Override
public Object getValue() {
UaVariable node = getValueNode();
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 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.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASMultiLanguagePropertyTypeImplBase method getValue.
@Optional
@Override
public LocalizedText[] getValue() {
UaVariable node = getValueNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (LocalizedText[]) value;
}
Aggregations