use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class IAASReferableTypeImplBase 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.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASIdentifierTypeImplBase method setId.
@Mandatory
@Override
public void setId(String value) throws StatusException {
UaVariable node = getIdNode();
if (node == null) {
throw new RuntimeException("Setting Id 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 AASIdentifierTypeImplBase method getIdType.
@Mandatory
@Override
public AASIdentifierTypeDataType getIdType() {
UaVariable node = getIdTypeNode();
if (node == null) {
return null;
}
Variant value = node.getValue().getValue();
return (AASIdentifierTypeDataType) value.asEnum(AASIdentifierTypeDataType.class);
}
use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASIrdiConceptDescriptionTypeImplBase 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.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASSubmodelElementTypeNodeBase method getModelingKind.
@Mandatory
@Override
public AASModelingKindDataType getModelingKind() {
UaVariable node = getModelingKindNode();
if (node == null) {
throw new RuntimeException("Mandatory node ModelingKind does not exist");
}
Variant value = node.getValue().getValue();
return (AASModelingKindDataType) value.asEnum(AASModelingKindDataType.class);
}
Aggregations