use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASBlobTypeNodeBase method getMimeType.
@Mandatory
@Override
public String getMimeType() {
UaVariable node = getMimeTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node MimeType does not exist");
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeNodeBase method getDefaultInstanceBrowseName.
@Mandatory
@Override
public String getDefaultInstanceBrowseName() {
UaVariable node = getDefaultInstanceBrowseNameNode();
if (node == null) {
throw new RuntimeException("Mandatory node DefaultInstanceBrowseName does not exist");
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASPropertyTypeNodeBase method getValueType.
@Mandatory
@Override
public AASValueTypeDataType getValueType() {
UaVariable node = getValueTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node ValueType does not exist");
}
Variant value = node.getValue().getValue();
return (AASValueTypeDataType) value.asEnum(AASValueTypeDataType.class);
}
use of com.prosysopc.ua.nodes.Mandatory 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);
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASFileTypeNodeBase method getMimeType.
@Mandatory
@Override
public String getMimeType() {
UaVariable node = getMimeTypeNode();
if (node == null) {
throw new RuntimeException("Mandatory node MimeType does not exist");
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
Aggregations