use of com.prosysopc.ua.nodes.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementCollectionTypeImplBase method setAllowDuplicates.
@Optional
@Override
public void setAllowDuplicates(Boolean value) throws StatusException {
UaVariable node = getAllowDuplicatesNode();
if (node == null) {
throw new RuntimeException("Setting AllowDuplicates 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 AASDataSpecificationIEC61360TypeImplBase method setDefinition.
@Optional
@Override
public void setDefinition(LocalizedText[] value) throws StatusException {
UaVariable node = getDefinitionNode();
if (node == null) {
throw new RuntimeException("Setting Definition 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 AASDataSpecificationIEC61360TypeImplBase 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.Optional in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method getSymbol.
@Optional
@Override
public String getSymbol() {
UaVariable node = getSymbolNode();
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 AASDataSpecificationIEC61360TypeImplBase method setLevelType.
@Optional
@Override
public void setLevelType(AASLevelTypeDataType value) throws StatusException {
UaVariable node = getLevelTypeNode();
if (node == null) {
throw new RuntimeException("Setting LevelType failed, the Optional node does not exist)");
}
node.setValue(value);
}
Aggregations