use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementCollectionTypeImplBase method isAllowDuplicates.
@Optional
@Override
public Boolean isAllowDuplicates() {
UaVariable node = getAllowDuplicatesNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Boolean) value;
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementCollectionTypeNodeBase method isAllowDuplicates.
@Optional
@Override
public Boolean isAllowDuplicates() {
UaVariable node = getAllowDuplicatesNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (Boolean) value;
}
use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASBlobTypeNodeBase 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 AASDataSpecificationIEC61360TypeNodeBase 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.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeNodeBase method getUnit.
@Optional
@Override
public String getUnit() {
UaVariable node = getUnitNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
Aggregations