use of opc.i4aas.AASIdentifierTypeDataType in project FAAAST-Service by FraunhoferIOSB.
the class AASIdentifierTypeImplBase method getIdType.
@Mandatory
@Override
public AASIdentifierTypeDataType getIdType() {
UaVariable node = getIdTypeNode();
if (node == null) {
return null;
}
Variant value = node.getValue().getValue();
return (AASIdentifierTypeDataType) value.asEnum(AASIdentifierTypeDataType.class);
}
use of opc.i4aas.AASIdentifierTypeDataType 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);
}
Aggregations