for(Resource assertion : graph.getAssertedObjects(data.componentType, relation)) {
try {
- expression = graph.getPossibleRelatedValue(assertion, L0.SCLValue_expression, Bindings.STRING);
+ expression = graph.getPossibleRelatedValue(assertion, L0.SCLValue_expression, Bindings.STRING);
if(expression != null) {
defaultValue = "=" + expression; //$NON-NLS-1$
} else if (graph.sync(new IsEnumeratedValue(assertion))) {
- defaultValue = GetEnumerationValue.getEnumerationValueName(graph, assertion);
- } else {
+ defaultValue = GetEnumerationValue.getEnumerationValueName(graph, assertion);
+ } else {
Datatype dt = getPossibleDatatype(graph, assertion);
if (dt == null)
continue;