use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASMultiLanguagePropertyTypeNodeBase method getValue.
@Optional
@Override
public LocalizedText[] getValue() {
UaVariable node = getValueNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (LocalizedText[]) value;
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASAdministrativeInformationTypeImplBase 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.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASBlobTypeImplBase method getValue.
@Optional
@Override
public ByteString getValue() {
UaVariable node = getValueNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (ByteString) value;
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASBlobTypeImplBase method setValue.
@Optional
@Override
public void setValue(ByteString value) throws StatusException {
UaVariable node = getValueNode();
if (node == null) {
throw new RuntimeException("Setting Value failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASPropertyTypeImplBase method getValue.
@Optional
@Override
public Object getValue() {
UaVariable node = getValueNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Object) value;
}
Aggregations