use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASAdministrativeInformationTypeNodeBase method getVersion.
@Optional
@Override
public String getVersion() {
UaVariable node = getVersionNode();
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 AASAdministrativeInformationTypeNodeBase method getRevision.
@Optional
@Override
public String getRevision() {
UaVariable node = getRevisionNode();
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 AASDataSpecificationIEC61360TypeNodeBase method getSourceOfDefinition.
@Optional
@Override
public String getSourceOfDefinition() {
UaVariable node = getSourceOfDefinitionNode();
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 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.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASEntityTypeNodeBase method getEntityType.
@Mandatory
@Override
public AASEntityTypeDataType getEntityType() {
UaVariable node = getEntityTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node EntityType does not exist");
}
Variant value = node.getValue().getValue();
return (AASEntityTypeDataType) value.asEnum(AASEntityTypeDataType.class);
}
Aggregations