use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method getLevelType.
@Optional
@Override
public AASLevelTypeDataType getLevelType() {
UaVariable node = getLevelTypeNode();
if (node == null) {
return null;
}
Variant value = node.getValue().getValue();
return (AASLevelTypeDataType) value.asEnum(AASLevelTypeDataType.class);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method setPreferredName.
@Mandatory
@Override
public void setPreferredName(LocalizedText[] value) throws StatusException {
UaVariable node = getPreferredNameNode();
if (node == null) {
throw new RuntimeException("Setting PreferredName failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method getValueFormat.
@Optional
@Override
public String getValueFormat() {
UaVariable node = getValueFormatNode();
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 AASDataSpecificationIEC61360TypeImplBase method getShortName.
@Optional
@Override
public LocalizedText[] getShortName() {
UaVariable node = getShortNameNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (LocalizedText[]) value;
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method getDefinition.
@Optional
@Override
public LocalizedText[] getDefinition() {
UaVariable node = getDefinitionNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (LocalizedText[]) value;
}
Aggregations