use of com.prosysopc.ua.nodes.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASCustomConceptDescriptionTypeImplBase 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.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method setDefaultInstanceBrowseName.
@Mandatory
@Override
public void setDefaultInstanceBrowseName(String value) throws StatusException {
UaVariable node = getDefaultInstanceBrowseNameNode();
if (node == null) {
throw new RuntimeException("Setting DefaultInstanceBrowseName 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 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.UaVariable 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.UaVariable in project FAAAST-Service by FraunhoferIOSB.
the class AASDataSpecificationIEC61360TypeImplBase method getPreferredName.
@Mandatory
@Override
public LocalizedText[] getPreferredName() {
UaVariable node = getPreferredNameNode();
if (node == null) {
return null;
}
Object value = node.getValue().getValue().getValue();
return (LocalizedText[]) value;
}
Aggregations