use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASIdentifierKeyValuePairTypeImplBase method setKey.
@Mandatory
@Override
public void setKey(String value) throws StatusException {
UaVariable node = getKeyNode();
if (node == null) {
throw new RuntimeException("Setting Key failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASIdentifierKeyValuePairTypeImplBase method setValue.
@Mandatory
@Override
public void setValue(String 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.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASIriConceptDescriptionTypeImplBase method getCategory.
@Mandatory
@Override
public String getCategory() {
UaVariable node = getCategoryNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASIriConceptDescriptionTypeImplBase method setCategory.
@Mandatory
@Override
public void setCategory(String value) throws StatusException {
UaVariable node = getCategoryNode();
if (node == null) {
throw new RuntimeException("Setting Category failed, the Optional node does not exist)");
}
node.setValue(value);
}
use of com.prosysopc.ua.nodes.Mandatory in project FAAAST-Service by FraunhoferIOSB.
the class AASReferableTypeImplBase method getCategory.
@Mandatory
@Override
public String getCategory() {
UaVariable node = getCategoryNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (String) value;
}
Aggregations